Fixed issue #1034 - Update of object attribute leads to CSRF token verification failure.

This commit is contained in:
Rolf Schmidt 2017-05-23 11:26:46 +02:00
parent e00776ea64
commit a2a6309692

View file

@ -1,7 +1,7 @@
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ # Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ObjectManagerAttributesController < ApplicationController class ObjectManagerAttributesController < ApplicationController
before_action { authentication_check(permission: 'admin.object') } prepend_before_action { authentication_check(permission: 'admin.object') }
# GET /object_manager_attributes_list # GET /object_manager_attributes_list
def list def list