Class: Admin::BaseController

Inherits:
ApplicationController
  • Object
show all
Includes:
BaseHelper
Defined in:
app/controllers/admin/base_controller.rb

Instance Method Summary collapse

Methods included from BaseHelper

#render_subnav

Instance Method Details

#access_deniedObject



7
8
9
# File 'app/controllers/admin/base_controller.rb', line 7

def access_denied
  redirect_to admin_root_path, :alert => t('access_denied')
end