Add display of shelve
This commit is contained in:
@@ -23,9 +23,7 @@ class HomeController extends Controller
|
||||
$input = $request->input();
|
||||
$data = self::init();
|
||||
$data['display_by_rows'] = $input['by_rows'] ?? false;
|
||||
// $data['offers'] = Offers::getLast()->toArray();
|
||||
$data['articles'] = Articles::getArticlesToSell();
|
||||
// $data['tags'] = Tags::getWithCountOffers();
|
||||
$data['tags'] = TagGroups::getWithTagsAndCountOffers();
|
||||
return view('Shop.home', $data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user