app/controllers/itsf/backend/resource/base_controller.rb in itsf_backend-1.1.7 vs app/controllers/itsf/backend/resource/base_controller.rb in itsf_backend-1.1.8
- old
+ new
@@ -5,9 +5,10 @@
class Resource::BaseController < Configuration.resource_base_controller.constantize
if Itsf::Backend.features?(:pundit)
include Controller::RestActionsConcernWithPundit
include Pundit
prepend Controller::PunditNamespacedAuthorizeConcern
+ include Controller::PunditAuthorizationFailureHandlingConcern
helper_method :engine_policy
else
include Controller::RestActionsConcern
end
include Controller::ResourceUrlsConcern