2015-09-12 15:37:05 -05:00
|
|
|
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
|
2015-09-18 15:50:52 -05:00
|
|
|
|
|
|
|
respond_to :html, :json
|
2015-09-12 15:37:05 -05:00
|
|
|
end
|