1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Restore consistency with the rest of the doc.

This commit is contained in:
Rémy Coutable 2010-08-25 15:55:53 +02:00
parent 58e2fa3695
commit 43532f6b25

View file

@ -367,8 +367,8 @@ module ActionView
# "Go Back" link instead of a link to the comments page, we could do something like this...
#
# <%=
# link_to_unless_current("Comment", { :controller => 'comments', :action => 'new'}) do
# link_to("Go back", { :controller => 'posts', :action => 'index' })
# link_to_unless_current("Comment", { :controller => "comments", :action => "new" }) do
# link_to("Go back", { :controller => "posts", :action => "index" })
# end
# %>
def link_to_unless_current(name, options = {}, html_options = {}, &block)