method
use_relative_controller!
v4.1.8 -
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”