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