Risolto problema di chiamata funzione con nome riservato nella parte di tags
This commit is contained in:
parent
1b248f1863
commit
d9f04b4e44
@ -44,7 +44,7 @@ class TagController extends Controller
|
||||
}
|
||||
|
||||
public function deleteTag($id){
|
||||
tag::delete($id);
|
||||
tag::deleteTag($id);
|
||||
return redirect(route('tags'));
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ class tag extends Model
|
||||
|
||||
}
|
||||
|
||||
public static function delete($id)
|
||||
public static function deleteTag($id)
|
||||
{
|
||||
DB::table('tags')
|
||||
//->where('id','=',$id)
|
||||
|
Loading…
Reference in New Issue
Block a user