Risolto problema di chiamata funzione con nome riservato nella parte di tags

This commit is contained in:
Amministratore 2023-05-30 11:05:06 +02:00
parent 1b248f1863
commit d9f04b4e44
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class TagController extends Controller
} }
public function deleteTag($id){ public function deleteTag($id){
tag::delete($id); tag::deleteTag($id);
return redirect(route('tags')); return redirect(route('tags'));
} }
} }

View File

@ -34,7 +34,7 @@ class tag extends Model
} }
public static function delete($id) public static function deleteTag($id)
{ {
DB::table('tags') DB::table('tags')
//->where('id','=',$id) //->where('id','=',$id)