Sha256: dfbaa4aba47ce0a23c5893f10a333a9aa8a2b12cc381f4dfb0272903ad83c5fa

Contents?: true

Size: 225 Bytes

Versions: 3

Compression:

Stored size: 225 Bytes

Contents

module CurrentMe
  class Railtie < ::Rails::Railtie
    initializer 'CurrentMe' do |app|
      ActiveSupport.on_load :action_controller do
        ::ActionController::Base.send :include, CurrentMe
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
current_me-0.0.3 lib/current_me/railtie.rb
current_me-0.0.2 lib/current_me/railtie.rb
current_me-0.0.1 lib/current_me/railtie.rb