spatie / laravel-missing-page-redirector

Redirect missing pages in your Laravel application
https://freek.dev/598-retain-your-seo-worth-by-correctly-redirecting-missing-pages-in-a-laravel-application
MIT License
488 stars 38 forks source link

Pass HTTP status code to event "RouteWasHit" #36

Closed gtapps closed 6 years ago

gtapps commented 6 years ago

Hello,

This commit now allow us to know the status code passed to the "RouteWasHit" event.

Gabriel

sebastiandedeyne commented 6 years ago

How about we pass the entire request instead?

gtapps commented 6 years ago

Hello,

What do you suggest then? Which variable should we pass then?

Cheers, Gabriel

sebastiandedeyne commented 6 years ago

Nevermind, misunderstood the PR :D

Gonna let @freekmurze decide what to do with this one.

freekmurze commented 6 years ago

Thanks!