25/03/2012 10:27pm

PHP | Problem - routing problem


_config.php

Director::addRules(2, array(
'kategorie/$ID!' => 'ProPage_Controller',
.
.
.
.
.
));
ProPage.php
public static $url_handlers = array(
'kategorie/$CATEGORYNAME!' => 'categoryProspekts',
......
);

url: domain.com/kategorie/id

it always runs into this rule:
Rule '$Action//$ID/$OtherID' matched to action 'handleAction' on ProspektPage_Controller. Latest request params: array (
'Action' => NULL,
'ID' => NULL,
'OtherID' => NULL,
)

whats wrong here?


Post Comment