Mercurial > rsstweet
diff app/controllers/application_controller.rb @ 0:a1c9fadc0904
Initial.
Generated with:
rails new rsstweet -J -S -O -G --skip-keeps
author | edogawaconan <me@myconan.net> |
---|---|
date | Fri, 05 Sep 2014 18:24:19 +0900 |
parents | |
children | 082e96417e86 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/controllers/application_controller.rb Fri Sep 05 18:24:19 2014 +0900 @@ -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