/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $project_templates = ProjectTemplate::all(); return view('admin.project_template_index', ['title' => 'Task List Categories', 'project_templates' => $project_templates]); }