diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-02-26 16:06:54 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-02-26 16:06:54 -0800 |
commit | be0bf10a3cf5783f8859f73659c5fe3c16bd1ccd (patch) | |
tree | 273fe6ea15bd952c4b5380f3789b829e375d7e76 /railties/lib/rails/engine.rb | |
parent | 74df7795a836862df503aa23eda403c15b22ca3b (diff) | |
download | rails-be0bf10a3cf5783f8859f73659c5fe3c16bd1ccd.tar.gz rails-be0bf10a3cf5783f8859f73659c5fe3c16bd1ccd.tar.bz2 rails-be0bf10a3cf5783f8859f73659c5fe3c16bd1ccd.zip |
Upon further reflection, we realized that SharedTestRoutes is not really a hack, but is instead a standin (in the Rails tests) for Rails.application.routes.
* In a real application, action_controller/railties.rb does AC::Base.include(app.routes.url_helpers)
* ActionController itself does not know about Rails.application, but instead can have named routes for any router
* SharedTestRoutes are created in abstract_unit to stand in for Rails.application.routes, and is used in
internal functional tests
Diffstat (limited to 'railties/lib/rails/engine.rb')
0 files changed, 0 insertions, 0 deletions