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