public function update(UpdateTagRequest $request, Tag $tag) { $this->authorize('blog.tags.update'); $tag->update($request->only(['name'])); $message = "The tag {$tag->name} was updated successfully !"; Log::info($message, $tag->toArray()); $this->notifySuccess($message, 'Tag updated !'); return redirect()->route('blog::foundation.tags.show', [$tag->id]); }