aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAviv Ben-Yosef <aviv.by@gmail.com>2011-11-30 06:55:34 +0200
committerAviv Ben-Yosef <aviv.by@gmail.com>2011-11-30 06:55:34 +0200
commite3bc1385f1e8d2816deb215880d99aca136c0cc3 (patch)
treeb5fcd0898d51304464bf49a689d4f094bd6dd484 /actionpack
parent237272e049e409c9f620dfadb7cf0688e8c91b0f (diff)
downloadrails-e3bc1385f1e8d2816deb215880d99aca136c0cc3.tar.gz
rails-e3bc1385f1e8d2816deb215880d99aca136c0cc3.tar.bz2
rails-e3bc1385f1e8d2816deb215880d99aca136c0cc3.zip
Fixing incorrect documentation
`path_names` can only be used for affecting `new` and `edit`
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index 7947e9d393..88e422c05d 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1046,8 +1046,8 @@ module ActionDispatch
# Takes same options as <tt>Base#match</tt> as well as:
#
# [:path_names]
- # Allows you to change the paths of the seven default actions.
- # Paths not specified are not changed.
+ # Allows you to change the segment component of the +edit+ and +new+ actions.
+ # Actions not specified are not changed.
#
# resources :posts, :path_names => { :new => "brand_new" }
#