aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/resources.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-09-22 18:03:31 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-09-22 18:03:31 +0000
commit712b71371dcd6bbec6d44ca7f87f6ff31c9e11dd (patch)
treef362acd846ca66908b63b094df27b1c8d139334e /actionpack/lib/action_controller/resources.rb
parent2f8146bc5e7711a6823ce095bb2be3e42012de2b (diff)
downloadrails-712b71371dcd6bbec6d44ca7f87f6ff31c9e11dd.tar.gz
rails-712b71371dcd6bbec6d44ca7f87f6ff31c9e11dd.tar.bz2
rails-712b71371dcd6bbec6d44ca7f87f6ff31c9e11dd.zip
Doc fix (closes #9123) [tzaharia]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/resources.rb')
-rw-r--r--actionpack/lib/action_controller/resources.rb3
1 files changed, 2 insertions, 1 deletions
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 @@ module ActionController
# * <tt>:new</tt> - same as :collection, but for actions that operate on the new resource action.
# * <tt>:controller</tt> - specify the controller name for the routes.
# * <tt>:singular</tt> - specify the singular name used in the member routes.
- # * <tt>:path_prefix</tt> - set a prefix to the routes with required route variables.
# * <tt>:requirements</tt> - set custom routing parameter requirements.
# * <tt>:conditions</tt> - specify custom routing recognition conditions. Resources sets the :method value for the method-specific routes.
+ # * <tt>:path_prefix</tt> - 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