Skip to content

Commit

Permalink
Restore consistency with the rest of the doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy Coutable committed Aug 25, 2010
1 parent 58e2fa3 commit 43532f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_view/helpers/url_helper.rb
Expand Up @@ -367,8 +367,8 @@ def button_to(name, options = {}, html_options = {})
# "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)
Expand Down

0 comments on commit 43532f6

Please sign in to comment.