Kester Hynds
Member
I'm trying to get a value from the URL.
Route set up as follows:
This is the action code:
if I visit
I don't understand what I'm missing...
Route set up as follows:
This is the action code:
PHP:
public function actionIndex(ParameterBag $params)
{
echo "<pre>";
print_r($params);
echo "</pre>";
return $this->message('Hello world!');
}
if I visit
http://DOMAIN/authenticate
but if I add on a value, e.g. http://DOMAIN/authenticate/1234567890
, then it seems to be looking for an action matching the token.(Code: invalid_action, controller: IPSE\Authenticate:Authenticate, action: 1234567890)
I don't understand what I'm missing...
Last edited: