Indentation

This commit is contained in:
Eelco Dolstra 2012-02-21 17:59:36 +01:00
parent 578530dac2
commit 3d824b3a3a

View file

@ -20,6 +20,7 @@ sub jobset : Chained('/') PathPart('jobset') CaptureArgs(2) {
or notFound($c, "Jobset $jobsetName doesn't exist.");
}
sub jobsetIndex {
my ($self, $c, $forceStatus) = @_;
@ -89,14 +90,16 @@ sub jobsetIndex {
}) ];
}
sub index : Chained('jobset') PathPart('') Args(0) {
my ($self, $c) = @_;
jobsetIndex($self, $c, 0);
my ($self, $c) = @_;
jobsetIndex($self, $c, 0);
}
sub indexWithStatus : Chained('jobset') PathPart('') Args(1) {
my ($self, $c, $forceStatus) = @_;
jobsetIndex($self, $c, 1);
my ($self, $c, $forceStatus) = @_;
jobsetIndex($self, $c, 1);
}
@ -153,6 +156,7 @@ sub hide : Chained('jobset') PathPart Args(0) {
[$c->stash->{project}->name]));
}
sub unhide : Chained('jobset') PathPart Args(0) {
my ($self, $c) = @_;
@ -166,6 +170,7 @@ sub unhide : Chained('jobset') PathPart Args(0) {
[$c->stash->{project}->name]));
}
sub delete : Chained('jobset') PathPart Args(0) {
my ($self, $c) = @_;
@ -293,6 +298,7 @@ sub clone : Chained('jobset') PathPart('clone') Args(0) {
$c->stash->{template} = 'clone-jobset.tt';
}
sub clone_submit : Chained('jobset') PathPart('clone/submit') Args(0) {
my ($self, $c) = @_;
@ -324,7 +330,6 @@ sub clone_submit : Chained('jobset') PathPart('clone/submit') Args(0) {
});
$c->res->redirect($c->uri_for($c->controller('Jobset')->action_for("edit"), [$jobset->project->name, $newjobsetName]));
}