From 7f8ee17b40ca57dd644ca2925451f8626784419a Mon Sep 17 00:00:00 2001 From: MrZYX Date: Wed, 19 Jan 2011 21:09:06 +0100 Subject: [PATCH] pass @contacts to partial in aspects/index.js.erb --- app/views/aspects/index.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/aspects/index.js.erb b/app/views/aspects/index.js.erb index b856a017c..b5e50a40c 100644 --- a/app/views/aspects/index.js.erb +++ b/app/views/aspects/index.js.erb @@ -1,5 +1,5 @@ $('#aspect_stream_container').html("<%= escape_javascript(render('aspects/aspect_stream', :aspect => @aspect, :aspect_ids => @aspect_ids, :posts => @posts)) %>"); -$('#aspect_listings').html("<%= escape_javascript(render('aspects/aspect_listings', :aspects => @aspects)) %>"); +$('#aspect_listings').html("<%= escape_javascript(render('aspects/aspect_listings', :aspects => @aspects, :contacts => @contacts)) %>"); $('a[rel*=facebox]').facebox(); $(document).ready(function() {