NewsletterController
class NewsletterController extends Controller
Traits
AuthorizesRequests
ValidatesRequests
Methods
bool
isAutomatedRequest(Request $request = null)
Determines if the request was done by an automated script (with API token or ajax).
from
Controller
mixed
index()
Shows the sign up page.
Response
mixed
mixed
created()
Shows the created page.
mixed
subscribed()
Shows the subscribed page.
mixed
unsubscribe()
Shows the unsubscribe page.
mixed
mixed
unsubscribed()
Shows the unsubscribed page.
mixed
show(Request $request, int $id)
Shows the newsletter.
Details
in
Controller at line 21
bool
isAutomatedRequest(Request $request = null)
Determines if the request was done by an automated script (with API token or ajax).
at line 23
mixed
index()
Shows the sign up page.
at line 34
Response
create(StoreNewsletterSubscriber $request)
Creates a new newsletter subscriber
at line 57
mixed
verify(EmailVerificationRequest $request)
Verify a subscription.
at line 69
mixed
created()
Shows the created page.
at line 79
mixed
subscribed()
Shows the subscribed page.
at line 89
mixed
unsubscribe()
Shows the unsubscribe page.
at line 100
mixed
destroy(DestroyNewsletterSubscriber $request)
Deletes a newsletter subscriber.
at line 117
mixed
unsubscribed()
Shows the unsubscribed page.
at line 129
mixed
show(Request $request, int $id)
Shows the newsletter.