Sha256: 8143906dd1bc2318c47093ae0713dfd79b42c834628a5b4d52fe59744ce33d7f

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 Bytes

Contents

class ApplicationController < ActionController::Base
  if defined? RailsCom
    include Com::Controller::ErrHandler
    include RailsCom::Application
    include Com::Controller::Admin
  end
  include Auth::Controller::Application if defined? RailsAuth
  include Roled::Controller::Application if defined? RailsRole
  include Org::Controller::Application if defined? RailsOrg

  protect_from_forgery with: :exception, unless: -> { json_format? }
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
rails_audit-1.0.4 test/dummy/app/controllers/application_controller.rb
rails_org-0.0.1 test/dummy/app/controllers/application_controller.rb