Fixing incorrect documentation

`path_names` can only be used for affecting `new` and `edit`
This commit is contained in:
Aviv Ben-Yosef
2011-11-30 06:55:34 +02:00
parent 237272e049
commit e3bc1385f1

View File

@@ -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" }
#