/** * Update the specified resource in storage. * * @param ImageCategoryRequest $request * @param ImageCategory $category * * @return Response * @internal param int $id */ public function update(ImageCategoryRequest $request, ImageCategory $category) { $category->update($request->all()); flash()->success("Category of images has been successfully updated!"); return redirect()->back()->withInput(); }