From 9c920ecec90643b68850eda8c3c9cb1d05da036b Mon Sep 17 00:00:00 2001 From: mlissner Date: Tue, 27 Aug 2024 15:09:35 -0700 Subject: [PATCH 1/2] fix(urls): Elevate the download URL --- cl/opinion_page/urls.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cl/opinion_page/urls.py b/cl/opinion_page/urls.py index 0b35cb82c3..c029924a0e 100644 --- a/cl/opinion_page/urls.py +++ b/cl/opinion_page/urls.py @@ -52,14 +52,15 @@ name="docket_feed", ), path("opinion///", view_opinion, name="view_case"), # type: ignore[arg-type] - path( - "docket///", view_docket, name="view_docket" # type: ignore[arg-type] - ), path( "docket//download/", download_docket_entries_csv, # type: ignore[arg-type] name="view_download_docket", ), + path( + "docket///", view_docket, name="view_docket" + # type: ignore[arg-type] + ), path( "recap/gov.uscourts../", redirect_docket_recap, # type: ignore[arg-type] From d0a405d4eceb7bb3272fd361ad7233f965bee046 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 22:10:30 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cl/opinion_page/urls.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cl/opinion_page/urls.py b/cl/opinion_page/urls.py index c029924a0e..5e7a9e1a54 100644 --- a/cl/opinion_page/urls.py +++ b/cl/opinion_page/urls.py @@ -58,7 +58,9 @@ name="view_download_docket", ), path( - "docket///", view_docket, name="view_docket" + "docket///", + view_docket, + name="view_docket", # type: ignore[arg-type] ), path(