]> iEval git - gruntmaster-page.git/blobdiff - lib/Plack/App/Gruntmaster.pm
Introduce Gruntmaster::Page::Generic
[gruntmaster-page.git] / lib / Plack / App / Gruntmaster.pm
index 63aa12f90a71aa41cebfa8b5a2fb0080d8f42920..131b7542bcf99f7ded495590527392bcdf6dff5f 100644 (file)
@@ -10,6 +10,9 @@ our $VERSION = '5999.000_001';
 use File::Slurp qw/read_file/;
 use HTTP::Negotiate qw/choose/;
 use Plack::Request;
+use Gruntmaster::Page::Log;
+use Gruntmaster::Page::Pb::Entry;
+use Gruntmaster::Page::Generic;
 
 my %handlers;
 
@@ -58,8 +61,8 @@ BEGIN{
        my $word = qr,(\w+),a;
        my $ct = qr,(?:\/ct/$word)?,a;
 
-       get qr,/css/$word, => 'CSS';
-       get qr,/js, => 'JS';
+       get qr,/css/$word\.css, => 'CSS';
+       get qr,/js\.js, => 'JS';
 
        get qr,/ct/, => 'Ct';
        get qr,/ct/$word/, => 'Ct::Entry';
This page took 0.015391 seconds and 4 git commands to generate.