Skip to content

Commit

Permalink
redirected /fellowship to /fellowships (#1149)
Browse files Browse the repository at this point in the history
* redirected /fellowship to /fellowships

* removed an extra line
  • Loading branch information
mmmavis authored and Christopher DeCairos committed Mar 6, 2018
1 parent ee784d0 commit 0b7bf42
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions network-api/networkapi/urls.py
Expand Up @@ -41,13 +41,10 @@
url(r'^wagtail/', include(wagtail_urls))
if settings.ENABLE_WAGTAIL else None,

url(r'^soc/', include('social_django.urls', namespace='social')),

# Don't remove this redirect until Fellowships pages are live
url(r'^fellowships/$', RedirectView.as_view(
url='https://advocacy.mozilla.org/open-web-fellows'
))
if settings.SOCIAL_SIGNIN else None,
url(r'^fellowship/(?P<path>.*)', RedirectView.as_view(
url='/fellowships/%(path)s',
query_string=True
)),

# network-api routes:
url(r'^api/people/', include('networkapi.people.urls')),
Expand Down

0 comments on commit 0b7bf42

Please sign in to comment.