lib/vidibus/user.rb in vidibus-user-0.0.10 vs lib/vidibus/user.rb in vidibus-user-1.0.0
- old
+ new
@@ -1,3 +1,20 @@
-require "user/extensions"
-require "user/warden_strategy"
-require "user/mongoid"
+require 'vidibus/user/errors'
+require 'vidibus/user/mongoid'
+require 'vidibus/user/warden'
+require 'vidibus/user/extensions'
+require 'vidibus/user/railstie'
+
+module Vidibus
+ module User
+ extend self
+
+ attr_accessor :login_path
+ @login_path = '/login'
+
+ attr_accessor :logger
+ @logger = Logger.new(STDOUT)
+
+ attr_accessor :failure_app
+ @failure_app = Vidibus::User::Warden::FailureApp
+ end
+end