Remove final unused helper
This commit is contained in:
parent
3be6289fc3
commit
261751886b
1 changed files with 0 additions and 6 deletions
|
@ -149,12 +149,6 @@ sub startup {
|
||||||
|
|
||||||
$self->res->headers->header('Access-Control-Allow-Origin' => '*') if $self->app->mode eq 'development';
|
$self->res->headers->header('Access-Control-Allow-Origin' => '*') if $self->app->mode eq 'development';
|
||||||
});
|
});
|
||||||
|
|
||||||
$self->helper(get_age_foreign_key => sub {
|
|
||||||
my ( $c, $age_string ) = @_;
|
|
||||||
my $age_range = $c->schema->resultset('AgeRange')->find({ agerangestring => $age_string });
|
|
||||||
return defined $age_range ? $age_range->agerangeid : undef;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
Reference in a new issue