]> iEval git - plack-app-gruntmaster.git/blobdiff - lib/Plack/App/Gruntmaster.pm
Make CSS/JS links end with .css/.js
[plack-app-gruntmaster.git] / lib / Plack / App / Gruntmaster.pm
index 63aa12f90a71aa41cebfa8b5a2fb0080d8f42920..a0711013f99fec760e5b36f50cb8f77ce495da7e 100644 (file)
@@ -58,8 +58,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.023142 seconds and 4 git commands to generate.