Sha256: dce29f9d64b9886a39d185b813252ee9f10ab886d21d93bded67da93536d0e93

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

class ApplicationController < ActionController::Base
  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception
  before_action :set_paper_trail_whodunnit
  after_action :verify_authorized

  include EnjuLeaf::Controller
  include EnjuLibrary::Controller
  include Pundit
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_seed-0.2.0.beta.2 spec/dummy/app/controllers/application_controller.rb
enju_seed-0.2.0.beta.1 spec/dummy/app/controllers/application_controller.rb