Sha256: 6e2cb000bbadf4ae832c0bc6fb4b1c417b071ae73dc6958aa166e7450e1b71b2

Contents?: true

Size: 245 Bytes

Versions: 5

Compression:

Stored size: 245 Bytes

Contents

module Spree::Auth::Admin::ResourceControllerDecorator
  def self.prepended(base)
    base.rescue_from CanCan::AccessDenied, with: :unauthorized
  end
end
Spree::Admin::ResourceController.prepend(Spree::Auth::Admin::ResourceControllerDecorator)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_auth_devise-4.6.3 lib/controllers/backend/spree/auth/admin/resource_controller_decorator.rb
spree_auth_devise-4.6.2 lib/controllers/backend/spree/auth/admin/resource_controller_decorator.rb
spree_auth_devise-4.6.1 lib/controllers/backend/spree/auth/admin/resource_controller_decorator.rb
spree_auth_devise-4.6.0 lib/controllers/backend/spree/auth/admin/resource_controller_decorator.rb
spree_auth_devise-4.5.0 lib/controllers/backend/spree/auth/admin/resource_controller_decorator.rb