lib/fgraph/rails/fgraph_helper.rb in fgraph-0.3.4 vs lib/fgraph/rails/fgraph_helper.rb in fgraph-0.4.0
- old
+ new
@@ -27,10 +27,10 @@
if app_id.blank? or app_secret.blank? or fbs_cookies.blank?
return @fgraph_session_cookies = false
end
# Parse facebook cookies
- fbs_cookies = CGI.parse(fbs_cookies.gsub!(/(^\"|\"$)/, ''))
+ fbs_cookies = CGI.parse(fbs_cookies.gsub(/(^\"|\"$)/, ''))
session_cookies = {}
fbs_cookies.each do |key, value|
session_cookies[key] = value[0]
end
\ No newline at end of file