Don't skip `else` with octane

I came across a subtle Octane but last week. We needed to disable Inertia’s history encryption in some places in the app. By default, it’s enabled everywhere. So we added a route check to the middleware to turn it off. class HandleInertiaRequests { public function …

View Post on Scour ↗

More from Sebastian De Deyne on Scour.