Welcome Guest, Not a member yet? Register   Sign In
Help deal with routes ?!
#4

(This post was last modified: 09-21-2019, 02:03 AM by Digital_Wolf.)

Good day !

Yesterday I looked into the project I was recommended above where I saw that in the configuration file "routes.php" registered routes in two versions with localization and exactly the same only without localization "{locale}", I repeated it in my project with only one difference, I used a group. But I had a question:

This is best practice because the amount of code gets doubled, and if it's not best practice, is there a way to fix this using my data as an example (see my screenshot). ?

Attached Files Thumbnail(s)
   
I would change this world, but God doesn't give me the source.
Reply


Messages In This Thread
Help deal with routes ?! - by Digital_Wolf - 09-20-2019, 06:57 AM
RE: Help deal with routes ?! - by ciadmin - 09-20-2019, 07:12 AM
RE: Help deal with routes ?! - by Digital_Wolf - 09-20-2019, 07:16 AM
RE: Help deal with routes ?! - by Digital_Wolf - 09-21-2019, 02:02 AM
RE: Help deal with routes ?! - by ciadmin - 09-21-2019, 05:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB