I have a CakePHP 2.3 setup with the following route:
Router::connect('/contact', array('controller' => 'old_layout', 'action' => 'contact'));
In my AppController, I define
public $components = array(
'Security'...
);
In OldLayoutController, in the beforeFilter() function I define:
$this->Security->allowedControllers = array('OldLayout');
In the view for old_layout/contact, I generate the form using the Form->create() and end() functions and regular Form::input()... commands.
When I submit the form at /contact, I get the following message:
The request has been black-holed
Error: The requested address '/[domain].com/contact' was not found on this server.
Thing is, I do the exact same thing for another form in a different controller which works perfectly.