Sha256: 97d9cf98bdc8abdf166c384f7683e208cb235e655bfab3e0a3f13b3866f92d2b

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

module PrxAuth
  module Rails
    class Engine < ::Rails::Engine
      config.to_prepare do
        ::ApplicationController.helper_method [
          :current_user, :prx_jwt,
          :current_user_info, :current_user_name, :current_user_apps,
          :account_name_for, :account_for, :accounts_for
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
prx_auth-rails-4.3.0 lib/prx_auth/rails/engine.rb
prx_auth-rails-4.2.1 lib/prx_auth/rails/engine.rb
prx_auth-rails-4.2.0 lib/prx_auth/rails/engine.rb