Hi,
i have a problem with create url. I have this cod:
Url::toRoute(['/catalogue/default/view', 'id' => $user->id]
that generate
But i’m needing from this format
In my web.php i set
where do i wrong?
Hi,
i have a problem with create url. I have this cod:
Url::toRoute(['/catalogue/default/view', 'id' => $user->id]
that generate
But i’m needing from this format
In my web.php i set
where do i wrong?
In yii2 in config folder, only needs to remove the comment lines in the web.php, I mean config folder → web.php and search the urlManager, remove the lines and it’´s all, you will have Url Friendly