Permalink
Browse files

Merge pull request #457 from nithinbekal/issue-380

OmniAuth::Form.build should call Form.new with :title => title
  • Loading branch information...
2 parents aca30f3 + deccb13 commit ba4bd3ee6717f1c65c592c5481b6a02f92041817 @sferik sferik 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 ba4bd3e

Please sign in to comment.