/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { Color::destroy($id); }
/** * Delete the given Color. * * @param int $id * @return Redirect */ public function getDelete($id = null) { $color = Color::destroy($id); // Redirect to the group management page return redirect('admin/colors')->with('success', Lang::get('message.success.delete')); }