Menus aléatoires !
This commit is contained in:
parent
62747bea5d
commit
27778dc56a
@ -15,7 +15,9 @@ class MenuController extends Controller
|
||||
public function index()
|
||||
{
|
||||
return view('menus')
|
||||
->with('menus', Menu::get());
|
||||
->with('menus', Menu::get()
|
||||
->random(7)
|
||||
->shuffle());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user