method
use_relative_controller!
v3.2.1 -
Show latest stable
- Class:
ActionDispatch::Routing::RouteSet::Generator
use_relative_controller!()public
if the current controller is “foo/bar/baz” and :controller => “baz/bat” is specified, the controller becomes “foo/baz/bat”