Moved route configuration
This commit is contained in:
parent
b335de2cb7
commit
d501cf8a1e
2 changed files with 3 additions and 7 deletions
|
@ -4,12 +4,12 @@ $: << File.expand_path('..', __FILE__)
|
||||||
|
|
||||||
require 'devise_kerberos_authenticatable/model'
|
require 'devise_kerberos_authenticatable/model'
|
||||||
require 'devise_kerberos_authenticatable/strategy'
|
require 'devise_kerberos_authenticatable/strategy'
|
||||||
require 'devise_kerberos_authenticatable/routes'
|
|
||||||
require 'devise_kerberos_authenticatable/kerberos_adapter'
|
require 'devise_kerberos_authenticatable/kerberos_adapter'
|
||||||
|
|
||||||
Devise.add_module(
|
Devise.add_module(
|
||||||
:kerberos_authenticatable,
|
:kerberos_authenticatable,
|
||||||
:strategy => true,
|
:strategy => true,
|
||||||
:model => 'devise_kerberos_authenticatable/model',
|
:model => 'devise_kerberos_authenticatable/model',
|
||||||
:route => true
|
:route => :session,
|
||||||
)
|
:controller => :sessions
|
||||||
|
)
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
ActionController::Routing::Mapper.class_eval do
|
|
||||||
protected
|
|
||||||
alias_method :devise_kerberos_authenticatable, :devise_session
|
|
||||||
end
|
|
Loading…
Reference in a new issue