app/Http/Controllers/Avalon/NoteController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
	    $notes = Note::orderBy('created_at', 'desc')->get();
        return view('avalon.note.index')->with('notes', $notes);
    }
public function index ( ) { $ notes = Note :: orderBy ( 'created_at' , 'desc' ) -> get ( ) ; return view ( 'avalon.note.index' ) -> with ( 'notes' , $ notes ) ; }
Display a listing of the resource.
Display a listing of the resource .
//    	$notes = Note::with('noteTags')->orderBy('created_at', 'desc')->get();