I am having an odd problem in one of my Controllers, i have a function that returns a $this->renderWith(...); yet this function is never called even when accessing the URL directly. I have this same technique on various other Controllers where they all work without a problem.
class Club_Controller extends Controller
private static $allowed_actions = array (
public function Form_data()
The settings in routes.yml:
The weirdest part is when i place the $this->renderWith(..); in:
It does work so its not that it cannot find the template. But for some reason when accessing the URL /data/clubobject/form_data it does not execute the function. Maybe if somebody can tell me what would cause this strange / odd behaviour on this one particular controller since it works fine on all the others.