Mercurial > hg > soundsoftware-site
comparison vendor/plugins/open_id_authentication/.svn/text-base/init.rb.svn-base @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
1 begin | |
2 require 'openid' | |
3 rescue LoadError | |
4 begin | |
5 gem 'ruby-openid', '>=2.1.4' | |
6 rescue Gem::LoadError | |
7 # no openid support | |
8 end | |
9 end | |
10 | |
11 if Object.const_defined?(:OpenID) | |
12 config.to_prepare do | |
13 OpenID::Util.logger = Rails.logger | |
14 ActionController::Base.send :include, OpenIdAuthentication | |
15 end | |
16 end |