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:
parent
09a46695f2
commit
ab033ea986
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue