method
controller_path
v4.1.8 -
Show latest stable
- Class:
AbstractController::Base
controller_path()public
Returns the full controller name, underscored, without the ending Controller. For instance, MyApp::MyPostsController would return “my_app/my_posts” for controller_path.