/** * Show all the types * * @Get("user/type") * @return \Illuminate\Http\Response */ public function indexType() { return view('user.indexType', ['types' => Type::paginate(10), 'section' => 'type', 'subsection' => 'list']); }