Skip to content
Snippets Groups Projects
Commit 5f2ad8e7 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Remove userprofile URLs for which views just return a 404

URLs for editing contacts and notifications were defined, but the
view functions just returned 404 responses.  So what's the point
in having them at all?
parent 695eae51
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,6 @@
{% for contact in contacts %}
<ul>
<li>
<!-- <a href="{% url "userprofile-edit-contact" contact.id %}">Edit</a> -->
<a href="{% url "userprofile-test-contact" contact.id %}">Test</a>
<a href="{% url "userprofile-delete-contact" contact.id %}">Delete</a>
{% comment %}
......@@ -53,7 +52,6 @@
{% for trigger in triggers %}
<ul>
<li>
<!-- <a href="{% url "userprofile-edit" trigger.id %}">Edit</a> -->
<a href="{% url "userprofile-delete" trigger.id %}">Delete</a>
{{ trigger.userlessDisplay }}
</li>
......
......@@ -14,14 +14,14 @@ urlpatterns = [
name="userprofile-delete-contact"),
url(r'^contact/test/(?P<id>[\d]+)$', views.testContact,
name="userprofile-test-contact"),
url(r'^contact/edit/(?P<id>[\d]+)$', views.editContact,
name="userprofile-edit-contact"),
#url(r'^contact/edit/(?P<id>[\d]+)$', views.editContact,
# name="userprofile-edit-contact"),
# /options/trigger/
url(r'^trigger/create$', views.create, name="userprofile-create"),
url(r'^trigger/delete/(?P<id>[\d]+)$', views.delete,
name="userprofile-delete"),
url(r'^trigger/edit/(?P<id>[\d]+)$', views.edit, name="userprofile-edit"),
#url(r'^trigger/edit/(?P<id>[\d]+)$', views.edit, name="userprofile-edit"),
# /options/manage_password
url(r'^manage_password$', views.managePassword,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment