Skip to content
Browse files

Ensure requests are protected.

  • Loading branch information...
1 parent 93c182d commit a7fedbb36388bad0c0f32b2346481e0ea126dea6 @steveyken steveyken committed Dec 27, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/controllers/application_controller.rb
View
2 app/controllers/application_controller.rb
@@ -5,6 +5,8 @@
#------------------------------------------------------------------------------
class ApplicationController < ActionController::Base
+ protect_from_forgery
+
before_filter :set_context
before_filter :clear_setting_cache
before_filter "hook(:app_before_filter, self)"

0 comments on commit a7fedbb

Please sign in to comment.
Something went wrong with that request. Please try again.