method
controller_path
rails latest stable - Class:
ActionController::Base
controller_path()public
Converts the class name from something like "OneModule::TwoModule::NeatController" to "one_module/two_module/neat".
controller_path()Converts the class name from something like "OneModule::TwoModule::NeatController" to "one_module/two_module/neat".