From 841bd65847066e92bf5a4d6de112fed1ada73c1c Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 5 Jul 2017 08:13:14 +0200 Subject: Refs: #3478@1.5h; - PolicyChecker authorizes(*) all now - Untied ApplicationPolicy#index? from show? - mv access_point_policy.rb to access_point_policy.rb fixing an invisible name curruption (local problem?) * to authorize: to allow (not here), to undergo the process of authorization (here) --- app/controllers/referentials_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers/referentials_controller.rb') diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb index 1239d512f..31b953ace 100644 --- a/app/controllers/referentials_controller.rb +++ b/app/controllers/referentials_controller.rb @@ -1,7 +1,6 @@ class ReferentialsController < BreadcrumbController defaults :resource_class => Referential include PolicyChecker - before_action :check_policy, :only => [:edit, :update, :destroy, :archive, :unarchive] # overrides default respond_to :html respond_to :json, :only => :show -- cgit v1.2.3