Error - Unable to resolve the request I've created a 'controllers' folder within the 'plugins' folder and a php file within that following the documentation

I've also created the following form:

    &lt;form method="POST" accept-charset="UTF-8"&gt;
        {{ getCsrfInput() }}
        &lt;input type="hidden" name="action" value="pluginName/controllerName/actionName"&gt;

        &lt;input type="submit" value="Start poll"&gt;
    &lt;/form&gt;


I keep getting the 'Unable to resolve the request' error.

Do you have any idea why this could be happening? Am I missing a step that's not in the documentation, like needing to register the url?

For reference, the action only contains $this-&gt;redirect('');
As I thought, I was just being silly. I initially didn't realise that custom controllers need to be encapsulated within a custom plugin

I guess my mistake was going directly to the controllers documentation and missing the line that says:


  To create a controller, first create a new controllers/ subfolder within your plugin’s folder


Hopefully anyone who runs into this (doubtful as I can imagine most, unlike me, will probably read the documentation properly) will find it somewhat useful