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

Version Path
fcrepo_admin-0.6.1 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.6.0 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.5.5 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.5.5.pre spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.5.4 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.5.3 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.5.2 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.5.1 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.5.0 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.4.1 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.4.0 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.3.5 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.3.4 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.3.3 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.3.2 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.3.1 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.3.0 spec/internal/app/controllers/application_controller.rb
fcrepo_admin-0.2.4 spec/internal/app/controllers/application_controller.rb