Sha256: 6e410b4574c47415fc2d89e862445afcfcaa43bff92d09b6cf92862ea050dcbc

Contents?: true

Size: 340 Bytes

Versions: 8

Compression:

Stored size: 340 Bytes

Contents

module Adhoq
  class ApplicationController < Adhoq.config.base_controller.constantize
    layout 'adhoq/application'

    # NOTE support for before Rails5 application
    unless respond_to?(:before_action)
      def self.before_action(*args)
        before_filter(*args)
      end
    end

    include Adhoq::AuthorizationMethods
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adhoq-1.0.2 app/controllers/adhoq/application_controller.rb
adhoq-1.0.1 app/controllers/adhoq/application_controller.rb
adhoq-1.0.0 app/controllers/adhoq/application_controller.rb
adhoq-0.5.0 app/controllers/adhoq/application_controller.rb
adhoq-0.5.0.beta1 app/controllers/adhoq/application_controller.rb
adhoq-0.4.0 app/controllers/adhoq/application_controller.rb
adhoq-0.3.0 app/controllers/adhoq/application_controller.rb
adhoq-0.2.0 app/controllers/adhoq/application_controller.rb