/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $workflowType = WorkflowType::first(); return redirect()->route('setup.workflow-type.show', $workflowType->id); }