annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 class ApplicationController < ActionController::Base
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
2 # Prevent CSRF attacks by raising an exception.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 # For APIs, you may want to use :null_session instead.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 protect_from_forgery with: :exception
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 end