rails/rails — pull request #6643 by fredwu (2012-06-06 09:07:03+00:00)
Title: Fixed the application_controller require_dependency path generated by the app generator

`application_controller.rb` is always in the same location, this patch fixes an issue where the path generated in namespaced controllers isn't correct.

e.g. `require_dependency "test_app/application_controller"` instead of `require_dependency "test_app/some/module/application_controller"`.