Files
sx-fc/app/controllers/base_oqs_controller.rb

13 lines
295 B
Ruby
Executable File

class BaseOqsController < ActionController::Base
include LoginVerification
layout "OQS"
#before_action :check_installation
protect_from_forgery with: :exception
rescue_from CanCan::AccessDenied do |exception|
flash[:warning] = exception.message
redirect_to root_path
end
end