Sha256: dd1878ae2e02ffc349ade24e0b08bffda29e30959559fc629ac219982ada73cb

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

module Adhoq
  class ApplicationController < ::ApplicationController
    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

3 entries across 3 versions & 1 rubygems

Version Path
adhoq-0.1.2 app/controllers/adhoq/application_controller.rb
adhoq-0.1.1 app/controllers/adhoq/application_controller.rb
adhoq-0.1.0 app/controllers/adhoq/application_controller.rb