Skip to content
Browse files

Restore consistency with the rest of the doc.

  • Loading branch information...
1 parent 58e2fa3 commit 43532f6b25758e1299d6fc9404c12b76df8fb3b0 Rémy Coutable committed Aug 25, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/helpers/url_helper.rb
View
4 actionpack/lib/action_view/helpers/url_helper.rb
@@ -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)

0 comments on commit 43532f6

Please sign in to comment.
Something went wrong with that request. Please try again.