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