/** * Update the specified resource in storage. * * @param Tag $id * @param Request $request * @return RedirectResponse */ public function update($id, Request $request) { $this->tag = Tag::find($id); $this->tag->update($request->all()); Flash::success(trans('tag::messages.tag updated')); return $this->toIndex(); }