From 3a70241ac427b9b568629f1068c95538e36ffd2e Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Tue, 11 Feb 2014 00:25:41 +0200 Subject: [PATCH] Make Ct::Entry URLs end with a slash --- lib/Plack/App/Gruntmaster.pm | 2 +- tmpl/ct.en | 6 +++--- tmpl/ct_entry.en | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index 508a81c..63aa12f 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -62,7 +62,7 @@ BEGIN{ get qr,/js, => 'JS'; get qr,/ct/, => 'Ct'; - get qr,/ct/$word, => 'Ct::Entry'; + get qr,/ct/$word/, => 'Ct::Entry'; get qr,/us/, => 'Us'; get qr,/us/$word, => 'Us::Entry'; diff --git a/tmpl/ct.en b/tmpl/ct.en index e18bc2a..ab10185 100644 --- a/tmpl/ct.en +++ b/tmpl/ct.en @@ -4,7 +4,7 @@ NameStart dateEnd dateOwner - + @@ -18,7 +18,7 @@ NameStart dateEnd dateOwner - + @@ -32,7 +32,7 @@ NameStart dateEnd dateOwner - + diff --git a/tmpl/ct_entry.en b/tmpl/ct_entry.en index 2919bb3..14ac48e 100644 --- a/tmpl/ct_entry.en +++ b/tmpl/ct_entry.en @@ -1,6 +1,6 @@ Contest start time:
Contest end time:

-Problems
-Job log
-Standings
+Problems
+Job log
+Standings
-- 2.39.2