[eluser]RellimTtocs80[/eluser]
Good day all,
I have a question about URI routing and to see if I could get something to work.
What I am trying to do is have a URI that looks like this
Code:
/campusName/departmentName/index
Where the campusName and departmentName are dynamic which should point to the call class "campus" and then the function "department" with the names as params like this
Code:
/campus/department/campusName/departmentName
However, I will also want other static controllers names such as "users", "students", etc. So, is it possible to configure the routes to look at the class and invoke the static class if it is a valid controller, then invoke the route in the config file if there is no valid controller for the first segment in the URI?
Thanks in advance
-Scott