Flowdock
method

controller_name

Importance_1
v3.0.5 - Show latest stable - 0 notes - Class: ActionController::Metal
controller_name() public

Returns the last part of the controller’s name, underscored, without the ending "Controller". For instance, MyApp::MyPostsController would return "my_posts" for controller_name

Returns

String

Show source
Register or log in to add new notes.