app/controllers/itsf/backend/dashboard_controller.rb in itsf_backend-1.1.7 vs app/controllers/itsf/backend/dashboard_controller.rb in itsf_backend-1.1.8
- old
+ new
@@ -6,9 +6,10 @@
layout 'itsf/backend/base'
if Itsf::Backend.features?(:pundit)
include Pundit
prepend Controller::PunditNamespacedAuthorizeConcern
+ include Controller::PunditAuthorizationFailureHandlingConcern
helper_method :engine_policy
after_action :verify_authorized
def index