1
0
Fork 0

Moved route configuration

This commit is contained in:
Paul Rowe-White 2014-01-29 20:59:43 +00:00
parent b335de2cb7
commit d501cf8a1e
2 changed files with 3 additions and 7 deletions

View file

@ -4,12 +4,12 @@ $: << File.expand_path('..', __FILE__)
require 'devise_kerberos_authenticatable/model'
require 'devise_kerberos_authenticatable/strategy'
require 'devise_kerberos_authenticatable/routes'
require 'devise_kerberos_authenticatable/kerberos_adapter'
Devise.add_module(
:kerberos_authenticatable,
:strategy => true,
:model => 'devise_kerberos_authenticatable/model',
:route => true
:route => :session,
:controller => :sessions
)

View file

@ -1,4 +0,0 @@
ActionController::Routing::Mapper.class_eval do
protected
alias_method :devise_kerberos_authenticatable, :devise_session
end