Welcome Guest, Not a member yet? Register   Sign In
How to make and include different routing files inside one route file?
#1

I am trying to make more robust app with CI4. I am trying to separate many functions along with their routing configs.
But I can't find a way to include another routing file inside Routes.php

Here is an example:

There is a route file called example.route inside /Views
 How can I include that file inside Routes.php so that the Routs.php looks cleaner .
Reply


Messages In This Thread
How to make and include different routing files inside one route file? - by sr13579 - 04-17-2021, 07:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB