1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

mapper.rb: add "options" to make the default-to-namespace-name line read better

This commit is contained in:
Ryan Bigg 2010-12-09 20:01:42 +10:00
parent b4ec6f0d39
commit a47f31c593

View file

@ -563,7 +563,7 @@ module ActionDispatch
# admin_post DELETE /admin/posts/:id(.:format) {:action=>"destroy", :controller=>"admin/posts"}
# === Supported options
#
# The +:path+, +:as+, +:module+, +:shallow_path+ and +:shallow_prefix+ all default to the name of the namespace.
# The +:path+, +:as+, +:module+, +:shallow_path+ and +:shallow_prefix+ options all default to the name of the namespace.
#
# [:path]
# The path prefix for the routes.