src/Http/Controllers/Backend/TagController.php
public function edit($id)
    {
        $tag = Tag::findOrFail($id);
        $data = ['id' => $id];
        foreach (array_keys($this->fields) as $field) {
            $data[$field] = old($field, $tag->$field);
        }

        return view('canvas::backend.tag.edit', compact('data'));
    }
public function edit($id)
    {
        $tag = Tag::findOrFail($id);
        $data = ['id' => $id];
        foreach (array_keys($this->fields) as $field) {
            $data[$field] = old($field, $tag->$field);
        }

        return view('canvas::backend.tag.edit', compact('data'));
    }
Show the form for editing a tag.

@param  int $id

@return \Illuminate\View\View