1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

fix for omniauth 0.2.0

This commit is contained in:
bUg 2010-11-04 07:16:55 +08:00 committed by José Valim
parent 09a46695f2
commit ab033ea986

View file

@ -11,6 +11,7 @@ module OmniAuth
def initialize(app, name, *args)
@app = app
@name = name.to_sym
@options = args.last.is_a?(Hash) ? args.pop : {}
yield self if block_given?
end
@ -43,4 +44,4 @@ module Devise
:test_mode!, :stub!, :reset_stubs!, :to => "Devise::OmniAuth::TestHelpers"
end
end
end
end