summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-02-04 22:04:58 -0700
committermo khan <mo@mokhan.ca>2015-02-04 22:04:58 -0700
commit1af4f1858830afb079e912e1be0c46f5c3ce6186 (patch)
tree5426c7c9c00f4e7fb7bb1411f851257187cf2f93 /app/controllers/application_controller.rb
parentb3971b05ce551c219a26c8f876c9a7126ebeb4a7 (diff)
post file system changes to event intake.
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index d83690e..84e9c93 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -1,5 +1,6 @@
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
+ #protect_from_forgery with: :exception
+ protect_from_forgery with: :null_session
end