Class: Alchemy::Admin::BaseController

Inherits:
BaseController
  • Object
show all
Includes:
Locale, Userstamp
Defined in:
app/controllers/alchemy/admin/base_controller.rb

Instance Method Summary collapse

Methods included from Modules

included, #module_definition_for, register_module

Methods included from ConfigurationMethods

#configuration, #multi_language?, #multi_site?

Instance Method Details

#leaveObject



25
26
27
28
# File 'app/controllers/alchemy/admin/base_controller.rb', line 25

def leave
  authorize! :leave, :alchemy_admin
  render template: '/alchemy/admin/leave', layout: !request.xhr?
end