Method: Lesli::SystemHelper#lesli_controller
- Defined in:
- app/helpers/lesli/system_helper.rb
#lesli_controller ⇒ Object
return the engine code of the controller that is handling the http request
36 37 38 |
# File 'app/helpers/lesli/system_helper.rb', line 36 def lesli_controller controller_path.split("/")[0] end |