NewsletterAddressResendActivationTrait
"Resend activation" button in the newsletter subscriber edit: a new activation key (the old link stops working) + an activation e-mail.
A POST signal (Nette signal = same-origin check), not a link in a grid row: a link row action is
GET and a GET must not send or change anything. The gate is the admin privilege edit — the
same one that opens the edit the button is on.
Table of Contents
Methods
- handleResendActivation() : void
Methods
handleResendActivation()
public
handleResendActivation(int $id) : void
Parameters
- $id : int
Attributes
- #[Requires]
- $methods: 'POST'