method

use_relative_controller!

rails latest stable - Class: ActionDispatch::Routing::RouteSet::Generator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

use_relative_controller!()
public

if the current controller is “foo/bar/baz” and controller: “baz/bat” is specified, the controller becomes “foo/baz/bat”