added ()
This commit is contained in:
parent
5484d45b3e
commit
09b091ec5c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue