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

Fixes #1120 - Add status code 301 and redirect url for /issues/catego… #1130

Merged
merged 2 commits into from
Jul 14, 2016

Conversation

deepthivenkat
Copy link
Member

…ry/new to /issues/category/needstriage, /issues/search/new to /issues/search/needtriage

@@ -128,7 +130,7 @@ def get_issue_category(issue_category):
# For paginated results on the /issues page,
# see /issues/search/needstriage.
elif issue_category == 'new':
abort(301)
redirect(url_for('.get_issue_category', issue_category='needstriage'), 301)

This comment was marked as abuse.

…es/category/new to /issues/category/needstriage, /issues/search/new to /issues/search/needtriage
@miketaylr
Copy link
Member

@deepthivenkat was there a question here? GitHub sent me a notification from a commit, but when I click on it it says "We went looking everywhere, but couldn’t find those commits."

@@ -128,7 +130,8 @@ def get_issue_category(issue_category):
# For paginated results on the /issues page,
# see /issues/search/needstriage.
elif issue_category == 'new':
abort(301)
redirect(url_for('.get_issue_category',
issue_category='needstriage'), 301)

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

…y and prepend api. to the method inside url_for
@deepthivenkat
Copy link
Member Author

r? @miketaylr @karlcow

@miketaylr
Copy link
Member

r+ (review request here: #1120 (comment))

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.

2 participants