/** * Display a listing of the resource. * * @return Response */ public function index(Note $noteModel) { $notes = $noteModel->getAllNotes(); return view('notes.index')->with('notes', $notes)->with('title', 'Публичные заметки'); }
/** * Display a listing of the resource. * * @return Response */ public function index(Note $noteModel) { $notes = $noteModel->getAllNotes(); return view('notes.index')->with('notes', $notes)->with('title', 'Публичные заметки'); }