method

use_controllers!

Importance_1
v2.3.8 - Show latest stable - 0 notes - 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" ])
Show source
Register or log in to add new notes.