Initial Commit from Base app
[base_ror3_portal.git] / app / controllers / application_controller.rb
blob9de0f0e044e49eed3d3023401b9a08158bca5330
1 class ApplicationController < ActionController::Base
2   protect_from_forgery
3   include SslRequirement
5   rescue_from CanCan::AccessDenied do |exception|
6     flash[:error] = exception.message
7     redirect_to root_url
8   end
10 end