Components\ContactManager\Controllers\Backend\ContactCategoriesController::edit PHP Method

edit() public method

Show the form for editing the specified contact.
public edit ( integer $id ) : Response
$id integer
return Response
    public function edit($id)
    {
        $this->layout->title = 'Edit Contact Category';
        $this->layout->content = View::make('contact_categories::create_edit')->with('contact_cat', ContactCategory::findOrFail($id));
    }