The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package Example;
use OX;
use ExampleController;
use OX::RouteBuilder::REST;

has thing => (
    is  => 'ro',
    isa => 'ExampleController',
);

router as {
    route '/thing'     => 'REST.thing.root';
    route '/thing/:id' => 'REST.thing.item';
    route '/hase' => 'thing.hase';
    route '/link' => 'thing.link';
};

no Moose; 1;
__END__