public function actionUpdate($id, Requests\UpdateTagRequest $request) { // Find tag in database. $tag = Tag::findOrFail($id); // Update tag in database. $tag->update($request->all()); // Redirect with flash message. \Session::flash('flash_message', 'You have successfully updated a tag.'); return redirect('/tags/' . $tag->id); }