This commit is contained in:
Wlodek Bzyl 2009-09-22 22:43:41 +02:00
parent 5484d45b3e
commit 09b091ec5c

View File

@ -30,7 +30,7 @@ module Sinatra
end
def link_to(desc, url)
"<a href='#{url_for url}'>#{desc}</a>"
"<a href='#{url_for(url)}'>#{desc}</a>"
end
private