Hi All,
I have this Controller;
class VideoDisplay_Controller extends Controller
{
static $allowed_actions = array(
'action' => true
);
function action($arguments) {
return 'Something';
}
}
Which I'm setting up with;
Director::addRules(20, array('video-display/$Action/$Type/$Id/' => 'VideoDisplay_Controller'));
When I try accessing the controller through http://localhost/video-display/action I get a page-not-found.
I'm using 2.4 :(
The only mention of this type of behaviour I found on this page http://www.balbus.tk/simulating-page-urls/ but he doesn't mention how to fix it.
Any help would be greatly appreciated.