struggling to decipher how to link a plugins controller to an action route. The docs say to use "https://pluginfactory.io/" to scaffold one, but what it generates is a different structure to what the documentation say to use.
I've got a plugin called
Gated Content sitting inside:
I've got a controller named and located at:
with the class name of of
I've just got an
actionIndex method which var dumps and exits.
Which would suggest (according to the docs) that the URL to access this should be:
But it just throws a 404.
Inside of the
.craftplugin file I've also added
"controllerName":"GatedContent_DataCaptureController incase, but doesn't seem to make a difference.
What is the correct pattern to use for each of these?