method

use_controllers!

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" ])