method
use_controllers!
v2.3.8 -
Show latest stable
- Class:
ActionController::Routing
use_controllers!(controller_names)public
Replaces the internal list of controllers available to ActionController::Routing with the passed argument.
ActionController::Routing.use_controllers!([ "posts", "comments", "admin/comments" ])