udpate access code for supervisor and manager

This commit is contained in:
Aung Myo
2018-05-04 13:45:36 +06:30
parent ef81987334
commit 6d2146893c

View File

@@ -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?