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 CharacterController extends Controller
|
|||
{
|
||||
return view("admin.character.index");
|
||||
}
|
||||
|
||||
public function destroy(Character $character)
|
||||
{
|
||||
$character->delete();
|
||||
|
||||
return redirect()->route('admin.character.index')
|
||||
->with('info', __("Character #:id was deleted.", [ 'id' => $character->id ]));
|
||||
}
|
||||
|
||||
public function restore(Character $character)
|
||||
{
|
||||
$character->restore();
|
||||
|
||||
return redirect()->route('admin.character.index')
|
||||
->with('info', __("Character #:id was restored.", [ 'id' => $character->id ]));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue