Module: Spree::Admin::ResourceControllerDecorator

Defined in:
lib/controllers/backend/spree/admin/resource_controller_decorator.rb

Class Method Summary collapse

Class Method Details

.prepended(base) ⇒ Object



2
3
4
# File 'lib/controllers/backend/spree/admin/resource_controller_decorator.rb', line 2

def self.prepended(base)
  base.rescue_from CanCan::AccessDenied, with: :unauthorized
end