delete bitcoin event

This commit is contained in:
HolgerHatGarKeineNode
2023-02-26 18:03:44 +01:00
parent 2e5a723910
commit 03fcb375bf
3 changed files with 21 additions and 6 deletions

View File

@@ -62,6 +62,13 @@ class BitcoinEventForm extends Component
}
}
public function deleteMe()
{
$this->bitcoinEvent->delete();
return redirect($this->fromUrl);
}
public function submit()
{
$this->validate();