diff options
author | Xavier Noria <fxn@hashref.com> | 2010-08-26 01:39:16 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-08-26 01:39:16 +0200 |
commit | fa8e17b5c274d80dc161c48b4b8ca67809593620 (patch) | |
tree | 32f2ee690a2f96ec1ee613499929b724cafb6789 /actionpack/lib/action_view/helpers | |
parent | d2f55e7eee3f82a9a8cc53a2c48294685d75b15e (diff) | |
parent | ee7507b38e14c39dd21aef581cffbe5dc3bd273b (diff) | |
download | rails-fa8e17b5c274d80dc161c48b4b8ca67809593620.tar.gz rails-fa8e17b5c274d80dc161c48b4b8ca67809593620.tar.bz2 rails-fa8e17b5c274d80dc161c48b4b8ca67809593620.zip |
Merge remote branch 'docrails/master'
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-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 a5c6718c58..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) |