diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-07-07 18:38:14 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-03 22:59:05 +0200 |
commit | 177a4bd5b7f903030a100f9b5092b1fa62c7c748 (patch) | |
tree | 2ca5c7111a952e141bc0baa984876857c9ec9648 /actionpack/lib/action_controller.rb | |
parent | 451c9942bb493190d5673c1b55be7506056db13b (diff) | |
download | rails-177a4bd5b7f903030a100f9b5092b1fa62c7c748.tar.gz rails-177a4bd5b7f903030a100f9b5092b1fa62c7c748.tar.bz2 rails-177a4bd5b7f903030a100f9b5092b1fa62c7c748.zip |
Fix url generation for mounted Engine
I added integration tests for generating urls in Engine and application
and tweaked Engines to fully cooparate with new router's behavior:
* Rails.application now sets ORIGINAL_SCRIPT_NAME
* Rails.application also sets its routes as env['action_dispatch.parent_routes']
* Engine implements responds_to? class method to respond to all the
instance methods, like #routes
Diffstat (limited to 'actionpack/lib/action_controller.rb')
0 files changed, 0 insertions, 0 deletions