Can named routes be auto generated for restful routes created with $route->resource() |
I'm currently testing out CI4 and I wanted to know if there is a way to generate named routes when creating restful routes.
Here is an example: PHP Code: // Calling this:
Hi when use restfull api mean backend and frontend are separate and pretty url it dosen matter for backend. But front can be anthing vue react angular and so on so you have manage url for front end
Oky
Enlightenment Is Freedom
|
Welcome Guest, Not a member yet? Register Sign In |