adding '/'

This commit is contained in:
Lucas Souza 2011-07-05 17:57:41 -03:00
parent 197d9af49f
commit 46b21ab77b

View File

@ -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)