From 462a929ea1e33ae8bff070e402eb7bafa0b2ba6d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Mar 2009 11:03:43 +0000 Subject: [PATCH] --- src/Hydra/lib/Hydra/Controller/Project.pm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Hydra/lib/Hydra/Controller/Project.pm b/src/Hydra/lib/Hydra/Controller/Project.pm index 0226b7ef..84178b28 100644 --- a/src/Hydra/lib/Hydra/Controller/Project.pm +++ b/src/Hydra/lib/Hydra/Controller/Project.pm @@ -7,9 +7,6 @@ use Hydra::Helper::Nix; use Hydra::Helper::CatalystUtils; -__PACKAGE__->config->{namespace} = ''; - - sub project : Chained('/') PathPart('project') CaptureArgs(1) { my ($self, $c, $projectName) = @_; @@ -69,7 +66,7 @@ sub delete : Chained('project') PathPart Args(0) { } -sub create : Path('create-project') { +sub create : Path('/create-project') { my ($self, $c) = @_; requireAdmin($c); @@ -80,7 +77,7 @@ sub create : Path('create-project') { } -sub create_submit : Path('create-project/submit') { +sub create_submit : Path('/create-project/submit') { my ($self, $c) = @_; requireAdmin($c);