From: Marius Gavrilescu Date: Mon, 10 Feb 2014 22:25:41 +0000 (+0200) Subject: Make Ct::Entry URLs end with a slash X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=3a70241ac427b9b568629f1068c95538e36ffd2e;p=gruntmaster-page.git Make Ct::Entry URLs end with a slash --- 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