Skip to content

getRouteUrl method changed#5

Open
juergen-vogel wants to merge 2 commits intomichelpa:masterfrom
juergen-vogel:master
Open

getRouteUrl method changed#5
juergen-vogel wants to merge 2 commits intomichelpa:masterfrom
juergen-vogel:master

Conversation

@juergen-vogel
Copy link

Using

$this->router->generate($this->request->get('_route'));

to get the current URL I always got errors with missing URL parameters:

The "xyz" route has some missing mandatory parameters 

My fork uses

$this->request->getUri();

which avoids this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant