Skip to content

Commit

Permalink
Don't wait until runtime to include the openid module. Added a note t…
Browse files Browse the repository at this point in the history
…o fix reloadable support.
  • Loading branch information
josh committed Apr 28, 2008
1 parent fb20816 commit 8a2485c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
end
end

config.to_prepare do
ActionController::Base.send :include, OpenIdAuthentication
end
# FIXME: Module is not being included
# config.to_prepare do
# ActionController::Base.send :include, OpenIdAuthentication
# end

ActionController::Base.send :include, OpenIdAuthentication

0 comments on commit 8a2485c

Please sign in to comment.