AcTasksController::edit PHP Method

edit() public method

Show the form for editing the specified resource.
public edit ( integer $acProjectId, integer $id ) : Response
$acProjectId integer
$id integer
return Response
    public function edit($acProjectId, $id)
    {
        // $this->acTask = $this->acTaskModel->find($id);
        if (is_null($this->acTask)) {
            return redirect()->route('ac_projects.ac_tasks.index', $acProjectId);
        }
        return view('ac_tasks.edit', compact_property($this, 'acTask'));
    }