spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Error when adding mailgunFeedback route #236

Closed joostvanhoof closed 3 years ago

joostvanhoof commented 3 years ago

If I add Route::mailgunFeedback('mailgun-feedback'); to my RouteServiceProvider as per the instructions I get InvalidArgumentException: Attribute [mailgunFeedback] does not exist.. I add it in the map() method as that's where Route::mailcoach is as well. Is this the correct place?

riasvdv commented 3 years ago
joostvanhoof commented 3 years ago

I'm on 2.2.0 which I think is the latest? Looking back at my logs I now think that it tried to call the route before the package was fully installed and loaded on my production server. I'll monitor this closely and reopen this if it pops up again. Sorry if this was a mistake on my end!