Sha256: 36de24e9b350799cc4b2e989e9652ab2ec05a24cdfc1c79a754063b86659e530

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

require 'g5_authenticatable_api/helpers/rails'

module G5AuthenticatableApi
  # Hook into the rails app initialization
  class Railtie < Rails::Railtie
    initializer 'g5_authenticatable.helpers' do
      ActiveSupport.on_load(:action_controller) do
        include G5AuthenticatableApi::Helpers::Rails
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
g5_authenticatable_api-1.0.0 lib/g5_authenticatable_api/railtie.rb
g5_authenticatable_api-1.0.0.pre.1 lib/g5_authenticatable_api/railtie.rb