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:
parent
58e2fa3695
commit
43532f6b25
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue