Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Add argument redirect (optional) to is_active_feature #5

Merged
merged 2 commits into from Mar 12, 2014
Merged

Add argument redirect (optional) to is_active_feature #5

merged 2 commits into from Mar 12, 2014

Conversation

michaelcontento
Copy link
Contributor

It's not possible to use url_for() in the decorator call if the app context is not build yet. Therefore this patch adds a new optional argument named redirect to is_active_feature. It's the same as redirect_to but it triggers url_for() right before the redirect.

Michael Contento added 2 commits February 25, 2014 16:38
It's not possible to use url_for() in the decorator call if the app context is
not build yet. Therefore this patch adds a new optional argument named
redirect_url_for to is_active_feature. It's the same as redirect_to but it
triggers url_for() right before the redirect.
catermelon pushed a commit that referenced this pull request Mar 12, 2014
Add argument redirect (optional) to is_active_feature
@catermelon catermelon merged commit f730b80 into rachelsanders:master Mar 12, 2014
@catermelon
Copy link
Collaborator

Sorry for the delay on this! Thank you so much for the contribution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants