From a2a6309692d06b986e93da0e1137805f5f934987 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Tue, 23 May 2017 11:26:46 +0200 Subject: [PATCH] Fixed issue #1034 - Update of object attribute leads to CSRF token verification failure. --- app/controllers/object_manager_attributes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/object_manager_attributes_controller.rb b/app/controllers/object_manager_attributes_controller.rb index 5dbf0d281..8cd188023 100644 --- a/app/controllers/object_manager_attributes_controller.rb +++ b/app/controllers/object_manager_attributes_controller.rb @@ -1,7 +1,7 @@ # Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class ObjectManagerAttributesController < ApplicationController - before_action { authentication_check(permission: 'admin.object') } + prepend_before_action { authentication_check(permission: 'admin.object') } # GET /object_manager_attributes_list def list