Permalink
Browse files

OmniAuth::Form.build should call Form.new with :title => title

  • Loading branch information...
1 parent aca30f3 commit deccb13de0d78d6e8111bfa64f8a88c00dc6d35f @nithinbekal nithinbekal committed Sep 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/omniauth/form.rb
View
@@ -98,7 +98,7 @@ def initialize(options = {})
end
def self.build(title=nil,&block)
- form = OmniAuth::Form.new(title)
+ form = OmniAuth::Form.new(:title => title)
if block.arity > 0
yield form
else

0 comments on commit deccb13

Please sign in to comment.