Closed vysinsky closed 10 years ago
I now understand. $this->link('this')
doesn't keep parameters that are not arguments of actions, and there is no way to bypass that. I think this PR is correct then. Can you please rebase it and replace -
in commit message to :
?
@vojtech-dobes done
@vojtech-dobes sorry, wrong rebase. It is fixed now.
Now when I use
$this->redirect('edit', ['id' => 5])
parameterid
is lost and url changes to/edit/
- without ID - so refreshing page breaks application. It would be much better to append current presenter's parameters to$payload->redirect