Skip to content

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

Merged
miketaylr merged 2 commits into
webcompat:issues/975/1from
deepthivenkat:issues/1120/2
Jul 14, 2016
Merged

Fixes #1120 - Add status code 301 and redirect url for /issues/catego…#1130
miketaylr merged 2 commits into
webcompat:issues/975/1from
deepthivenkat:issues/1120/2

Conversation

@deepthivenkat

Copy link
Copy Markdown
Member

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

Comment thread webcompat/api/endpoints.py Outdated
# 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
Copy Markdown
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."

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
Copy Markdown
Member Author

r? @miketaylr @karlcow

@miketaylr

Copy link
Copy Markdown
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