D
Dannymh
Guest
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
Continue reading...
I have the following code in my controller class (extends abstractContrller as this is a custom controller)
PHP:
Code:
if($params->slug) {
return $this->rerouteController(__CLASS__, 'actionView', $params); }
Then I have the public function inside that class
Code:
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
Continue reading...