Sha256: 522fe8ad64cab9846704e21eeadcd4f4099a1f4a3911d595980934d28d550cb4

Contents?: true

Size: 617 Bytes

Versions: 5

Compression:

Stored size: 617 Bytes

Contents

module PushType
  module Auth
    class Engine < ::Rails::Engine
      isolate_namespace PushType
      engine_name 'push_type_auth'

      config.generators do |g|
        g.assets false
        g.helper false
        g.test_framework  :minitest, spec: true, fixture: false
      end

      config.to_prepare do
        PushType::User.send :include, PushType::Authenticatable
        PushType::AdminController.send :include, PushType::AuthenticationMethods
        PushType::UsersController.send :include, PushType::InvitationMethods
        DeviseController.helper PushType::AdminHelper
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
push_type_auth-0.2.1 lib/push_type/auth/engine.rb
push_type_auth-0.2.0 lib/push_type/auth/engine.rb
push_type_auth-0.2.0.beta2 lib/push_type/auth/engine.rb
push_type_auth-0.1.1 lib/push_type/auth/engine.rb
push_type_auth-0.1.0 lib/push_type/auth/engine.rb