{"action":"closed","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/7036","repository_url":"https://api.github.com/repos/Sylius/Sylius","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/7036/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/7036/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/7036/events","html_url":"https://github.com/Sylius/Sylius/issues/7036","id":194307219,"number":7036,"title":"Overriding flow bundle routes","user":{"login":"mcbuckets","id":4672761,"avatar_url":"https://avatars.githubusercontent.com/u/4672761?v=3","gravatar_id":"","url":"https://api.github.com/users/mcbuckets","html_url":"https://github.com/mcbuckets","followers_url":"https://api.github.com/users/mcbuckets/followers","following_url":"https://api.github.com/users/mcbuckets/following{/other_user}","gists_url":"https://api.github.com/users/mcbuckets/gists{/gist_id}","starred_url":"https://api.github.com/users/mcbuckets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcbuckets/subscriptions","organizations_url":"https://api.github.com/users/mcbuckets/orgs","repos_url":"https://api.github.com/users/mcbuckets/repos","events_url":"https://api.github.com/users/mcbuckets/events{/privacy}","received_events_url":"https://api.github.com/users/mcbuckets/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T11:04:18Z","updated_at":"2016-12-09T18:03:05Z","closed_at":"2016-12-09T18:03:05Z","body":"Is it possible to override flow bundle in a way additional parameters can be sent to step display and formward methods.\r\n\r\nI would like to have something like this:\r\n\r\n```\r\nsylius_flow_start:\r\n    path: /{id}/{scenarioAlias}\r\n    defaults: { _controller: sylius.controller.process:startAction }\r\n\r\nsylius_flow_display:\r\n    path: /{id}/{scenarioAlias}/{stepName}\r\n    defaults: { _controller: sylius.controller.process:displayAction }\r\n\r\nsylius_flow_forward:\r\n    path: /{id}/{scenarioAlias}/{stepName}/forward\r\n    defaults: { _controller: sylius.controller.process:forwardAction }\r\n```\r\n\r\nI tried to fiddle with  scenario methods and added setDisplayRouteParams() and setForwardRouteParams() with no success. However i resorted to passing query parameter but it looks ugly and doesn't seem right way to do it."}}
{"actor":{"display_login":"michalmarcinkowski"}}