/**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     return view('admin.novelties.index', ['novelties' => Novelty::all()]);
 }
Пример #2
0
 public function novelties()
 {
     return view('home.novelties.index', ['novelties' => Novelty::all()]);
 }