app/Http/Controllers/Admin/*: Remove delete/restore actions
This commit is contained in:
parent
37bff9669a
commit
ba50900e3c
3 changed files with 0 additions and 48 deletions
|
|
@ -18,20 +18,4 @@ class RaidController extends Controller
|
|||
{
|
||||
return view("admin.raid.index");
|
||||
}
|
||||
|
||||
public function destroy(Raid $raid)
|
||||
{
|
||||
$raid->delete();
|
||||
|
||||
return redirect()->route('admin.raid.index')
|
||||
->with('info', __("Raid #:id was deleted.", [ 'id' => $raid->id ]));
|
||||
}
|
||||
|
||||
public function restore(Raid $raid)
|
||||
{
|
||||
$raid->restore();
|
||||
|
||||
return redirect()->route('admin.raid.index')
|
||||
->with('info', __("Raid #:id was restored.", [ 'id' => $raid->id ]));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue