2009-10-08 00:46:40 +00:00
|
|
|
begin
|
|
|
|
require 'warden'
|
|
|
|
rescue
|
|
|
|
gem 'hassox-warden'
|
|
|
|
require 'warden'
|
|
|
|
end
|
|
|
|
|
|
|
|
begin
|
|
|
|
require 'rails_warden'
|
|
|
|
rescue
|
|
|
|
gem 'hassox-rails_warden'
|
|
|
|
require 'rails_warden'
|
|
|
|
end
|
|
|
|
|
|
|
|
require 'devise/initializers/warden'
|
|
|
|
|
2009-09-20 13:35:26 +00:00
|
|
|
require 'devise/models/authenticable'
|
|
|
|
require 'devise/models/confirmable'
|
|
|
|
require 'devise/models/recoverable'
|
|
|
|
require 'devise/models/validatable'
|
2009-09-17 22:54:19 +00:00
|
|
|
|
2009-10-08 00:46:40 +00:00
|
|
|
class ActionController::Base
|
|
|
|
include Devise::Controllers::Authenticable
|
|
|
|
end
|