rails/init.rb in authlogic-connect-0.0.1 vs rails/init.rb in authlogic-connect-0.0.2

- old
+ new

@@ -1,17 +2 @@ -require "authlogic_connect" -require "oauth_callback_filter" - -# Throw callback rack app into the middleware stack -ActionController::Dispatcher.middleware = ActionController::MiddlewareStack.new do |m| - ActionController::Dispatcher.middleware.each do |klass| - m.use klass - end - m.use OauthCallbackFilter -end - -custom_models = Dir["#{File.dirname(__FILE__)}/../lib/authlogic_connect/oauth/tokens"] -custom_models +=Dir["#{File.dirname(__FILE__)}/../lib/authlogic_connect/openid/tokens"] -custom_models.each do |path| - $LOAD_PATH << path - ActiveSupport::Dependencies.load_paths << path -end +require "authlogic-connect" \ No newline at end of file