Skip to content

redirect_fallback#191

Open
lsmith77 wants to merge 9 commits intomasterfrom
AsfalothDE-master
Open

redirect_fallback#191
lsmith77 wants to merge 9 commits intomasterfrom
AsfalothDE-master

Conversation

@lsmith77
Copy link
Contributor

No description provided.

* @param string|null $defaultRoute
*/
public function __construct(ActiveTheme $activeTheme, array $themes, array $cookieOptions = null)
public function __construct(ActiveTheme $activeTheme, array $themes, array $cookieOptions = null, RouterInterface $router, $defaultRoute = null)
Copy link
Contributor

@maximgubar maximgubar Jun 18, 2018

Choose a reason for hiding this comment

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

@lsmith77 it looks like a BC break, shall we announce it somehow, or refactor ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point .. we could actually add a setter for this which is only used if the feature is enabled.

Copy link
Contributor

Choose a reason for hiding this comment

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

or allow the argument to be null and in that case fall back to the old logic

@lsmith77 lsmith77 changed the title Asfaloth de master redirect_fallback May 27, 2019
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