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

	include SimpleCaptcha::ControllerHelpers
end