method

use_relative_controller!

Importance_1
v4.1.8 - Show latest stable - 0 notes - 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”

Show source
Register or log in to add new notes.