public function loop() { Asset::add('masonry', 'js/masonry.pkgd.min.js', false, '1.0', false, 'script'); return View::make('partials.product.loop', ['posts' => PostModel::all()])->render(); }