From: Marius Gavrilescu Date: Fri, 28 Feb 2014 10:37:11 +0000 (+0200) Subject: Merge branch 'master' into mindcoding X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=f73df9c05eb921278d08f17c3e4e18237d7d4007;hp=137683e17847654370c1ecf716905222e8a36d1a;p=gruntmaster-page.git Merge branch 'master' into mindcoding --- diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index f3da571..eae9a06 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -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";