Reorder routes
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 28 Feb 2014 10:37:04 +0000 (12:37 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 28 Feb 2014 10:37:04 +0000 (12:37 +0200)
lib/Plack/App/Gruntmaster.pm

index f3da5719fe584be22e0c3600ae9307ffe29e0e8a..eae9a0636d18832f319395b2c575f9798041350e 100644 (file)
@@ -65,10 +65,9 @@ BEGIN{
                my ($thing, $ct, $fs) = @_;
                $ct //= '', $fs //= '';
                my $pkg = ucfirst $thing;
-               get qr,$ct/$thing/, => $pkg;
-               get qr,$ct/$thing/$word$fs, => "${pkg}::Entry";
-
+               get  qr,$ct/$thing/,             => $pkg;
                get  qr,$ct/$thing/read,         => "${pkg}::Read";
+               get  qr,$ct/$thing/$word$fs,     => "${pkg}::Entry";
 #              post qr,$ct/$thing/$word/create, => "${pkg}::Entry::Create";
                get  qr,$ct/$thing/$word/read,   => "${pkg}::Entry::Read";
 #              post qr,$ct/$thing/$word/update, => "${pkg}::Entry::Update";
This page took 0.010757 seconds and 4 git commands to generate.