diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-18 09:48:34 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-18 09:48:34 -0500 |
commit | 44a1ce4938b8cd326b9a0d0b1e537ec9a80cd6ce (patch) | |
tree | 52e657199c6b4ab8de93f7f62265ed57e171f7d7 /app/controllers/application_controller.rb | |
parent | 706757072e6dffbad7feaf20bf64d367b228797d (diff) |
Run `rails new`
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb new file mode 100644 index 0000000..d83690e --- /dev/null +++ b/app/controllers/application_controller.rb @@ -0,0 +1,5 @@ +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 +end |