-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt to load ruby-openid. if it's not there, #open_id? always retu…
…rns false. also fix the README a bit git-svn-id: http://svn.rubyonrails.org/rails/plugins/open_id_authentication@6251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
- Loading branch information
rick
committed
Feb 27, 2007
1 parent
abc9f9a
commit 913f113
Showing
3 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
begin | ||
gem 'ruby-openid' | ||
require 'openid' | ||
rescue LoadError | ||
puts "Install the ruby-openid gem to enable OpenID support" | ||
end | ||
|
||
ActionController::Base.send :include, OpenIdAuthentication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters