Hi,
I have the following code in my controller class (extends abstractContrller as this is a custom controller)
PHP:
Then I have the public function inside that class
Code:
I have a route in place that lets call it
content
Content has a route path of...
Read more
Читать далее...
I have the following code in my controller class (extends abstractContrller as this is a custom controller)
PHP:
Код:
if($params->slug)
{
return $this->rerouteController(__CLASS__, 'actionView', $params);
}
Then I have the public function inside that class
Code:
Код:
public function actionView(ParameterBag $params)
{
echo "That worked";
}
I have a route in place that lets call it
content
Content has a route path of...
Read more
Читать далее...