/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { Gallery::findOrFail($id)->delete(); return \Redirect::route(Utils::routeprefix("gallery.index")); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { Photo::findOrFail($id)->delete(); return \Redirect::route(Utils::routeprefix("photo.index")); }