adding '/'
This commit is contained in:
parent
197d9af49f
commit
46b21ab77b
@ -77,7 +77,7 @@ module Sinatra
|
|||||||
return source if source =~ /^\//
|
return source if source =~ /^\//
|
||||||
|
|
||||||
file_extension = options[:extension] ? ".#{options[:extension]}" : ""
|
file_extension = options[:extension] ? ".#{options[:extension]}" : ""
|
||||||
options[:folder] + "/" + source + file_extension
|
"/" + options[:folder] + "/" + source + file_extension
|
||||||
end
|
end
|
||||||
|
|
||||||
def source_url(source)
|
def source_url(source)
|
||||||
|
Loading…
Reference in New Issue
Block a user