Skip to content

Commit

Permalink
Merge d67d490 into b299e57
Browse files Browse the repository at this point in the history
  • Loading branch information
acdha committed Jan 25, 2019
2 parents b299e57 + d67d490 commit ce33b6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion concordia/management/commands/print_frontend_test_urls.py
Expand Up @@ -24,7 +24,6 @@ def handle(self, *, base_url, **options):
paths = [
reverse("homepage"),
reverse("about"),
reverse("latest"),
reverse("contact"),
# Help pages
reverse("help-center"),
Expand Down
3 changes: 0 additions & 3 deletions concordia/templates/base.html
Expand Up @@ -57,9 +57,6 @@ <h1 class="header-text m-0 d-none d-sm-flex align-items-center">
<li class="nav-item">
<a class="nav-link {% if PATH_LEVEL_1 == 'campaigns' %}active{% endif %}" href="{% url 'transcriptions:campaign-list' %}">Campaigns</a>
</li>
<li class="nav-item">
<a class="nav-link {% if PATH_LEVEL_1 == 'latest' %}active{% endif %}" href="{% url 'latest' %}">Latest</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://historyhub.history.gov/community/crowd-loc">Discuss</a>
</li>
Expand Down
6 changes: 5 additions & 1 deletion concordia/urls.py
Expand Up @@ -4,6 +4,7 @@
from django.http import Http404, HttpResponseForbidden
from django.urls import include, path
from django.views.defaults import page_not_found, permission_denied, server_error
from django.views.generic import RedirectView

from exporter import views as exporter_views

Expand Down Expand Up @@ -75,7 +76,10 @@
path("help-center/how-to-review/", views.simple_page, name="how-to-review"),
path("help-center/how-to-tag/", views.simple_page, name="how-to-tag"),
path("for-educators/", views.simple_page, name="for-educators"),
path("latest/", views.simple_page, name="latest"),
path(
"latest/",
RedirectView.as_view(pattern_name="about", permanent=True, query_string=True),
),
path("questions/", views.simple_page, name="questions"),
path("contact/", views.ContactUsView.as_view(), name="contact"),
path("campaigns/", include(tx_urlpatterns, namespace="transcriptions")),
Expand Down

0 comments on commit ce33b6d

Please sign in to comment.