Mercurial > hg > soundsoftware-site
view lib/plugins/open_id_authentication/init.rb @ 1117:b4b72f1eb644 redmine-2.2-integration
Moved all the plugins from the vendor folder to the application root folder.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 08 Jan 2013 12:32:05 +0000 |
parents | 433d4f72a19b |
children |
line wrap: on
line source
if Rails.version < '3' config.gem 'rack-openid', :lib => 'rack/openid', :version => '>=0.2.1' end require 'open_id_authentication' config.middleware.use OpenIdAuthentication config.after_initialize do OpenID::Util.logger = Rails.logger ActionController::Base.send :include, OpenIdAuthentication end