Silverstripe Version: 4.1.
Say I have a controller named VegeController with methods named Potato and Kumara.
I want to access those as root URL’s like /potato and /kumara respectively.
How do I do that in SS?
Adding a rule to to routes.yml like ‘potato’ : ‘VegeController’ and a $url_handlers = [‘potato’ => ‘potato’] in the controller doesn’t work.
I thought a route like ‘potato’: ‘VegeController\potato’ might work but it doesn’t either.
Currently it goes off to find “Index” as no “Action” is found.