Tag: Laravel

Laravel Resource Routes

And not just regular routes, but routes with modified resource names. So, by default you create a standard resource route using a standard resource using the simple construct: e.g.: This will create a slew of default routes for the resource linked to the indicated controller. In the constructor of the controller, you can link authorization…
Lees verder


2020-05-30 0

Laravel Soft Deletes

While investigating the Laravel framework I ran into the following problem: I have a model for which I enabled Soft Deletes. I want to allow the user to restore those models as well, using Soft Delete as a view-filtering option. Usually, the model should remain invisible from the overview and is only retained, because it…
Lees verder


2020-05-13 0