Skip to content

Commit

Permalink
Reorder routes to most -> least specific
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 committed Mar 25, 2024
1 parent bb35312 commit 44ffab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion applications/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ GET /$path<.+>/latest/email.emailjson
GET /$path<.+>/latest/email.emailtxt controllers.LatestIndexController.latest(path)
GET /$path<.+>/$year<\d\d\d\d>/$month<\w\w\w>/$day<\d\d>/all controllers.AllIndexController.allOn(path, day, month, year)
GET /$path<.+>/$year<\d\d\d\d>/$month<\w\w\w>/$day<\d\d>/altdate controllers.AllIndexController.altDate(path, day, month, year)
GET /$path<.+>/all controllers.AllIndexController.all(path)
GET /$path<.+>/all.json controllers.AllIndexController.renderJson(path)
GET /$path<.+>/all controllers.AllIndexController.all(path)

# Gallery paths
GET /$path<[\w\d-]*(/[\w\d-]*)?/gallery/.*>/lightbox.json controllers.GalleryController.lightboxJson(path)
Expand Down
2 changes: 1 addition & 1 deletion dev-build/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ GET /$path<.+>/latest/email.emailjson
GET /$path<.+>/latest/email.emailtxt controllers.LatestIndexController.latest(path)
GET /$path<.+>/$year<\d\d\d\d>/$month<\w\w\w>/$day<\d\d>/all controllers.AllIndexController.allOn(path, day, month, year)
GET /$path<.+>/$year<\d\d\d\d>/$month<\w\w\w>/$day<\d\d>/altdate controllers.AllIndexController.altDate(path, day, month, year)
GET /$path<.+>/all controllers.AllIndexController.all(path)
GET /$path<.+>/all.json controllers.AllIndexController.renderJson(path)
GET /$path<.+>/all controllers.AllIndexController.all(path)

# Newspaper pages paths
# gallery format (?)
Expand Down

0 comments on commit 44ffab2

Please sign in to comment.