ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 27,315
- Points
- 823
Reputation:
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...