diff options
author | Aviv Ben-Yosef <aviv.by@gmail.com> | 2011-11-30 06:55:34 +0200 |
---|---|---|
committer | Aviv Ben-Yosef <aviv.by@gmail.com> | 2011-11-30 06:55:34 +0200 |
commit | e3bc1385f1e8d2816deb215880d99aca136c0cc3 (patch) | |
tree | b5fcd0898d51304464bf49a689d4f094bd6dd484 /actionpack/lib/action_dispatch | |
parent | 237272e049e409c9f620dfadb7cf0688e8c91b0f (diff) | |
download | rails-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/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 4 |
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" } # |