Sha256: ff26d912e19ed397cfb1ab56d4e3b5ce3a5528195e6b0c2513f4e2f30349ac6f

Contents?: true

Size: 395 Bytes

Versions: 9

Compression:

Stored size: 395 Bytes

Contents

require "rails"

$:.unshift(File.join(File.dirname(__FILE__), "vidibus"))
require "user"

module Vidibus
  module User
    class Engine < ::Rails::Engine
      
      # Add warden to rack stack and use connector strategy.
      config.app_middleware.use Warden::Manager do |manager|
        manager.default_strategies :connector
        manager.default_scope = :user
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vidibus-user-0.0.8 lib/vidibus-user.rb
vidibus-user-0.0.7 lib/vidibus-user.rb
vidibus-user-0.0.6 lib/vidibus-user.rb
vidibus-user-0.0.5 lib/vidibus-user.rb
vidibus-user-0.0.4 lib/vidibus-user.rb
vidibus-user-0.0.3 lib/vidibus-user.rb
vidibus-user-0.0.2 lib/vidibus-user.rb
vidibus-user-0.0.1 lib/vidibus-user.rb
vidibus-user-0.0.0 lib/vidibus-user.rb