Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new settings for members signup redirects #12370

Merged
merged 3 commits into from
Nov 17, 2020

Conversation

allouis
Copy link
Contributor

@allouis allouis commented Nov 17, 2020

refs #12366

Two new settings for redirecting members after signup, based on if
they're paid or free, defaulting to the current redirect of "/"

refs TryGhost#12366

Two new settings for redirecting members after signup, based on if
they're paid or free, defaulting to the current redirect of "/"
Copy link
Contributor

@tpatel tpatel left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

Is that normal that there is down migration? I guess in that case it doesn't make sense as you don't want to delete the keys, right?

@allouis
Copy link
Contributor Author

allouis commented Nov 17, 2020

@tpatel So this migration is to ensure that the setting is added to the right group when migrating from v. old version, there is no previous value in this case so a down version doesn't really make sense here! But usually we do include one!

The signature for the helper we're using doesn't have default params so we have to pass it explicitly

@allouis allouis merged commit 2600a20 into TryGhost:master Nov 17, 2020
@allouis allouis deleted the customise-member-signup-redirects branch November 17, 2020 17:17
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.

None yet

4 participants