Concat duplicates in Rails 3.

This commit is contained in:
W. Andrew Loe III 2010-08-20 21:14:21 -07:00
parent 33b044bc03
commit 1b4053f58e

View File

@ -29,7 +29,7 @@ module Facebooker2
def fb_login(options = {},&proc)
js = capture(&proc)
text = options.delete(:text)
concat(content_tag("fb:login-button",text,options.merge(:onlogin=>js)))
content_tag("fb:login-button",text,options.merge(:onlogin=>js))
end
#