From 712b71371dcd6bbec6d44ca7f87f6ff31c9e11dd Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 22 Sep 2007 18:03:31 +0000 Subject: [PATCH] Doc fix (closes #9123) [tzaharia] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/resources.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actionpack/lib/action_controller/resources.rb b/actionpack/lib/action_controller/resources.rb index 898425bbee..679945c11f 100644 --- a/actionpack/lib/action_controller/resources.rb +++ b/actionpack/lib/action_controller/resources.rb @@ -234,9 +234,10 @@ def initialize(entity, options) # * :new - same as :collection, but for actions that operate on the new resource action. # * :controller - specify the controller name for the routes. # * :singular - specify the singular name used in the member routes. - # * :path_prefix - set a prefix to the routes with required route variables. # * :requirements - set custom routing parameter requirements. # * :conditions - specify custom routing recognition conditions. Resources sets the :method value for the method-specific routes. + # * :path_prefix - set a prefix to the routes with required route variables. + # # Weblog comments usually belong to a post, so you might use resources like: # # map.resources :articles