diff options
author | Rémy Coutable <rymai@rymai.com> | 2010-08-25 15:55:53 +0200 |
---|---|---|
committer | Rémy Coutable <rymai@rymai.com> | 2010-08-25 15:55:53 +0200 |
commit | 43532f6b25758e1299d6fc9404c12b76df8fb3b0 (patch) | |
tree | 818be954a5fad9dfdf3590b12468d226c3ab48b6 | |
parent | 58e2fa3695cecce7fb8bb8cc0c43eecdd5a2ed7a (diff) | |
download | rails-43532f6b25758e1299d6fc9404c12b76df8fb3b0.tar.gz rails-43532f6b25758e1299d6fc9404c12b76df8fb3b0.tar.bz2 rails-43532f6b25758e1299d6fc9404c12b76df8fb3b0.zip |
Restore consistency with the rest of the doc.
-rw-r--r-- | actionpack/lib/action_view/helpers/url_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index a4771e87e9..b0401c9859 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -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) |