Sha256: e499fc4652f62e0198c2684b621bbd63492417a47d13d1081033f933768f68a6

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 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", "current_account"
        ActionController::Base.send(:include, IuguSDKBaseController)
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.3 lib/iugusdk/engine.rb