Hold off drawing routes until all the possible controller classes have been loaded.
Methods
Attributes
| [RW] | drew |
Instance Public methods
before_setup()
Link
# File actionview/test/abstract_unit.rb, line 92 def before_setup super return if DrawOnce.drew ActiveSupport::Deprecation.silence do SharedTestRoutes.draw do get ':controller(/:action)' end ActionDispatch::IntegrationTest.app.routes.draw do get ':controller(/:action)' end end DrawOnce.drew = true end