From 6d2146893c8d17ad483141e067238e749c6a21ed Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Fri, 4 May 2018 13:45:36 +0630 Subject: [PATCH] udpate access code for supervisor and manager --- app/controllers/base_origami_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/base_origami_controller.rb b/app/controllers/base_origami_controller.rb index 040ee2bf..3cb1eacc 100755 --- a/app/controllers/base_origami_controller.rb +++ b/app/controllers/base_origami_controller.rb @@ -23,7 +23,7 @@ class BaseOrigamiController < ActionController::Base end else if ENV["SERVER_MODE"] != 'cloud' - # protect_from_forgery with: :exception + protect_from_forgery with: :exception end if current_user.nil?