Skip to content

Commit

Permalink
Use ActionController::Dispatcher.to_prepare for forward compat with R…
Browse files Browse the repository at this point in the history
…ails 3
  • Loading branch information
packagethief committed Jan 6, 2010
1 parent f8cc128 commit 1b4d6ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.rb
Expand Up @@ -8,7 +8,7 @@
abort "Install the ruby-openid gem to enable OpenID support"
end

config.to_prepare do
ActionController::Dispatcher.to_prepare do
OpenID::Util.logger = Rails.logger
ActionController::Base.send :include, OpenIdAuthentication
end

0 comments on commit 1b4d6ad

Please sign in to comment.