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

Commits on Feb 25, 2014

  1. Add redirect_url_for (optional) to is_active_feature

    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.
    Michael Contento committed Feb 25, 2014
    Configuration menu
    Copy the full SHA
    7d98b6a View commit details
    Browse the repository at this point in the history
  2. Rename redirect_url_for to simply redirect

    Michael Contento committed Feb 25, 2014
    Configuration menu
    Copy the full SHA
    d78daf0 View commit details
    Browse the repository at this point in the history