Sha256: 15b4b9cb329f742c0b309dea5a05e42d8b43c61d41ce5d93be45b188a238b25f

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

require_relative 'authorization'

module EasyTokens
  class Engine < ::Rails::Engine
    isolate_namespace EasyTokens

    initializer 'easy_tokens.controller_extensions' do
      ActionController::Base.send(:include, EasyTokens::Authorization)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
easy_tokens-0.4.0 lib/easy_tokens/engine.rb
easy_tokens-0.3.0 lib/easy_tokens/engine.rb