aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/resources.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2007-02-04 19:07:08 +0000
committerRick Olson <technoweenie@gmail.com>2007-02-04 19:07:08 +0000
commit7a49cb058f5a8345d55f321d6e6bd9dcac22519a (patch)
tree97d90c030af82ef46da871ff92728d8ac9faa916 /actionpack/lib/action_controller/resources.rb
parent0a454cd73e9644b154d72b573bc58451010f0e1a (diff)
downloadrails-7a49cb058f5a8345d55f321d6e6bd9dcac22519a.tar.gz
rails-7a49cb058f5a8345d55f321d6e6bd9dcac22519a.tar.bz2
rails-7a49cb058f5a8345d55f321d6e6bd9dcac22519a.zip
fix form_for example in ActionController::Resources documentation. Closes #7362 [gnarg], Added enhanced docs to routing assertions. Closes #7359 [Rob Sanheim], improve error message for Routing for named routes. Closes #7346 [Rob Sanheim]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/resources.rb')
-rw-r--r--actionpack/lib/action_controller/resources.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/resources.rb b/actionpack/lib/action_controller/resources.rb
index 5e15bc8f3a..d55e7f02ce 100644
--- a/actionpack/lib/action_controller/resources.rb
+++ b/actionpack/lib/action_controller/resources.rb
@@ -158,7 +158,7 @@ module ActionController
#
# or
#
- # <% form_for :message, @message, message_path(@message), :html => {:method => :put} do |f| %>
+ # <% form_for :message, @message, :url => message_path(@message), :html => {:method => :put} do |f| %>
#
# The #resources method accepts various options, too, to customize the resulting
# routes: