From 1b4053f58ef455bf1ea8d6bdf20c79268717bb4f Mon Sep 17 00:00:00 2001 From: "W. Andrew Loe III" Date: Fri, 20 Aug 2010 21:14:21 -0700 Subject: [PATCH] Concat duplicates in Rails 3. --- lib/facebooker2/rails/helpers/facebook_connect.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facebooker2/rails/helpers/facebook_connect.rb b/lib/facebooker2/rails/helpers/facebook_connect.rb index b5e4692..4a8a712 100644 --- a/lib/facebooker2/rails/helpers/facebook_connect.rb +++ b/lib/facebooker2/rails/helpers/facebook_connect.rb @@ -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 #