Skip to content

Add additional params to display and forward route#1446

Merged
pjedrzejewski merged 1 commit intoSylius:masterfrom
robinvdvleuten:additional-params
May 4, 2014
Merged

Add additional params to display and forward route#1446
pjedrzejewski merged 1 commit intoSylius:masterfrom
robinvdvleuten:additional-params

Conversation

@robinvdvleuten
Copy link
Copy Markdown

First a lot of thanks for making such an awesome bundle who saved me a lot of work creating multistep forms!
The only thing though was that I had overridden the default display route with a route that contained additional parameters. I have added some code where you can add those parameters with the ProcessBuilder. You can see in the Coordinator class how these params are used.

Cheers,
Robin

@robinvdvleuten
Copy link
Copy Markdown
Author

Yeah there was a very small syntax issue which I fixed and rebased.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think using array_merge would be better here (avoid temporary variable and increase lisibility).

@robinvdvleuten
Copy link
Copy Markdown
Author

@winzou I have fixed them. An array_merge was indeed better.

pjedrzejewski pushed a commit that referenced this pull request May 4, 2014
Add additional params to display and forward route
@pjedrzejewski pjedrzejewski merged commit 079b66e into Sylius:master May 4, 2014
@pjedrzejewski
Copy link
Copy Markdown
Contributor

Thanks Robin! That is a nice addition. 👍

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.

3 participants