Sha256: 8a8de05fbaadf9f37e89851bcb4b9c3032e7377cea157fd53c8db80716ddee29

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 Bytes

Contents

class ApplicationController < ActionController::Base
  # Adds a few additional behaviors into the application controller 
   include Blacklight::Controller
  include Spotlight::Controller

  # Please be sure to impelement current_user and user_session. Blacklight depends on 
  # these methods in order to perform user specific actions. 

  layout 'blacklight'

  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-spotlight-0.1.0 spec/internal/app/controllers/application_controller.rb
blacklight-spotlight-0.0.3 spec/internal/app/controllers/application_controller.rb
blacklight-spotlight-0.0.2 spec/internal/app/controllers/application_controller.rb
blacklight-spotlight-0.0.1 spec/internal/app/controllers/application_controller.rb