Skip to content

Commit

Permalink
Ensure requests are protected.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyken committed Dec 27, 2013
1 parent 676fdfd commit a740bf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit a740bf5

Please sign in to comment.