public Method

Base.controller_path

Converts the class name from something like "OneModule::TwoModule::NeatController" to "one_module/two_module/neat".

Source Code

# File action_controller/base.rb, line 638
def controller_path
  self.class.controller_path
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.