find my team: Canonicalize URL route.

Change URL endpoint to use underscores, not dashes, and change name to use
the full path to the view function. See e.g. /create_realm.
This commit is contained in:
Rishi Gupta
2017-01-05 18:31:48 -08:00
committed by Tim Abbott
parent 757297b72f
commit fdb47fc5ee
4 changed files with 11 additions and 11 deletions

View File

@@ -131,7 +131,7 @@ i18n_urls = [
name='landing-page'),
url(r'^new-user/$', RedirectView.as_view(url='/hello', permanent=True)),
url(r'^features/$', TemplateView.as_view(template_name='zerver/features.html')),
url(r'^find-my-team/$', zerver.views.find_my_team, name='find-my-team'),
url(r'^find_my_team/$', zerver.views.find_my_team, name='zerver.views.find_my_team'),
]
# If a Terms of Service is supplied, add that route