pass @contacts to partial in aspects/index.js.erb

This commit is contained in:
MrZYX 2011-01-19 21:09:06 +01:00
parent dd3f8f4bee
commit 7f8ee17b40

View file

@ -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() {