Remove unneccessary endpoint for AgeRanges
This commit is contained in:
parent
9523db7684
commit
6f5e0fb31e
2 changed files with 0 additions and 13 deletions
|
@ -1,12 +0,0 @@
|
|||
package Pear::LocalLoop::Controller::Api::Info;
|
||||
use Mojo::Base 'Mojolicious::Controller';
|
||||
|
||||
sub get_ages {
|
||||
my $c = shift;
|
||||
|
||||
my $ages = $c->schema->resultset('AgeRange');
|
||||
|
||||
$c->render( json => { ages => [ $ages->all ] } );
|
||||
}
|
||||
|
||||
1;
|
Reference in a new issue