13 lines
295 B
Ruby
Executable File
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
|