app/Http/Controllers/Admin/SuggestionController.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()
    {
        $admin = User::first();
        $suggestions = suggestion::paginate(10);
        return view('admin.suggestion.index', get_defined_vars());
    }
public function index ( ) { $ admin = User :: first ( ) ; $ suggestions = suggestion :: paginate ( 10 ) ; return view ( 'admin.suggestion.index' , get_defined_vars ( ) ) ; }
Display a listing of the resource.
Display a listing of the resource .