routing / page organization for controller / single page
Permalink
I have a page called "clinic" with a folder under my "controllers" folder called "clinic".
However, there isn't anything on this page. I have a controller called "select" (in my clinic folder, the name of the class is ClinicSelectController) which goes to "clinic/select" and I would actually like that to be the main page (but I would like the link to say "clinic").
Can I just move the code from clinic/select (ClinicSelectController) into a file called "controller" in my clinic folder?
Or is there a way of doing "routes" in the Concrete5 framework?
What is the best way to go about this?
However, there isn't anything on this page. I have a controller called "select" (in my clinic folder, the name of the class is ClinicSelectController) which goes to "clinic/select" and I would actually like that to be the main page (but I would like the link to say "clinic").
Can I just move the code from clinic/select (ClinicSelectController) into a file called "controller" in my clinic folder?
Or is there a way of doing "routes" in the Concrete5 framework?
What is the best way to go about this?