summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
blob: 0ac34860f7fc5dfb9b69ae0a7db26c4d24cfb8de (plain)
1
2
3
4
5
6
7
8
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

	#include sessionhelper for the session controller and view
	include SessionsHelper
end