Merge branch 'develop' into trunk
This commit is contained in:
commit
d0dc939b5f
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ class GammesController extends Controller
|
|||
public function index()
|
||||
{
|
||||
$gammes = Gamme::whereNull('parent_gamme_id')->orderBy('title')->get();
|
||||
//remove Food Service from count
|
||||
/** @var \Illuminate\Database\Eloquent\Collection $gammes */
|
||||
$gammes = $gammes->whereNotIn('slug','food-service');
|
||||
$nb_gammes = $gammes->count();
|
||||
|
||||
return view('front.gammes.index', compact('gammes', 'nb_gammes'));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue