Concat duplicates in Rails 3.
This commit is contained in:
parent
33b044bc03
commit
1b4053f58e
@ -29,7 +29,7 @@ module Facebooker2
|
|||||||
def fb_login(options = {},&proc)
|
def fb_login(options = {},&proc)
|
||||||
js = capture(&proc)
|
js = capture(&proc)
|
||||||
text = options.delete(:text)
|
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
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user