hi, i have a controller and is name 'item' ( url: item/index/1593 )
i want to show url like this: item/1593
actiually 1593 is Parametr.
my route is :
$publicResources = array( 'item' => array('index') );
foreach ($publicResources as $resource => $actions) { $acl->addResource(new Resource($resource), $actions); }
how can i do this ?
sry for bad type english .