mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
69f28a7d8d
The current implementation only works correctly if you supply the `:controller` with directory notation (eg. `:controller => 'admin/posts'`). The ruby constant notation (eg. `:controller => 'Admin::Posts`) leads to unexpected problems with `url_for`. This patch prints a warning for every non supported `:controller` option. I also added documentation how to work with namespaced controllers. The warning links to that documentation in the rails guide. |
||
---|---|---|
.. | ||
assets | ||
code/getting_started | ||
rails_guides | ||
source | ||
CHANGELOG.md | ||
rails_guides.rb | ||
Rakefile | ||
w3c_validator.rb |