Sha256: eebb25a04c3eb37497eb24be7518c006a9cde03bccec46532fa1df76c0e4abc6
Contents?: true
Size: 401 Bytes
Versions: 18
Compression:
Stored size: 401 Bytes
Contents
class ApplicationController < ActionController::Base include Blacklight::Controller include Hydra::Controller::ControllerBehavior include Hydra::PolicyAwareAccessControlsEnforcement rescue_from CanCan::AccessDenied do |exception| render :file => "#{Rails.root}/public/403", :formats => [:html], :status => 403, :layout => false end layout 'blacklight' protect_from_forgery end
Version data entries
18 entries across 18 versions & 1 rubygems