Sha256: 6a18a4724778c9615c424b2611b53e2cd7a3b5f497a443e7096782443ae72625

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

module IuguSDK
  class Engine < Rails::Engine

    initializer 'iugusdk.action_controller' do |app|
      ActiveSupport.on_load(:action_controller) do
        include IuguSDK::Controllers::Helpers
        helper_method "search_user_account", "current_user_account", "is_active?", "body_classes"
        ActionController::Base.send(:include, LocaleFilter)
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.1 lib/iugusdk/engine.rb
iugusdk-1.0.0.alpha.0 lib/iugusdk/engine.rb