Converts the class name from something like "OneModule::TwoModule::NeatController" to "one_module/two_module/neat".
Source Code
# File action_controller/base.rb, line 404 def controller_path @controller_path ||= name.gsub(/Controller$/, '').underscore end
<code/>and<pre/>for code samples.