From df8f7893494dbe80dc736d0a6f4d7ee2488ff524 Mon Sep 17 00:00:00 2001 From: Mali Oz Date: Fri, 2 Aug 2024 22:01:00 -0300 Subject: [PATCH] remove duplicate (abandoned feature) --- app/Http/Controllers/TurmaController.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/Http/Controllers/TurmaController.php b/app/Http/Controllers/TurmaController.php index 12ae745..f7f6160 100644 --- a/app/Http/Controllers/TurmaController.php +++ b/app/Http/Controllers/TurmaController.php @@ -68,18 +68,6 @@ public function create() ->with('cursos', Curso::all()); } - /** - * Show the form for creating a copy of a model - * - * @param \App\Models\Turma $turma - * @return \Illuminate\Http\RedirectResponse - */ - public function duplicate(Turma $turma) - { - $this->authorize('create', Turma::class); - - } - /** * Store a newly created resource in storage. *