lib/shibboleth_auth.rb in shibboleth_auth-0.3.2 vs lib/shibboleth_auth.rb in shibboleth_auth-0.3.3
- old
+ new
@@ -1,11 +1,10 @@
-#require 'action_pack'
-#require 'shibboleth_auth'
+require 'rails'
module ShibbolethAuth
extend ActiveSupport::Autoload
autoload :LoginController, __FILE__.split('/')[0..-2].join('/')+'/../app/controllers/login_controller'
- autoload :ShibbolethUser, __FILE__.split('/')[0..-2].join('/')+'/../app/models/shibboleth_user'
+ require __FILE__.split('/')[0..-2].join('/')+'/../app/models/shibboleth_auth/shibboleth_user'
require __FILE__.split('/')[0..-2].join('/')+'/generators/auth_generator'
require 'routes'
class Railtie < Rails::Railtie
end
end
\ No newline at end of file