add function for retrieving treatment info by observation unit ids
[sgn.git] / lib / SGN / Controller / Annotation.pm
blob96754c858f3de0d76b8df10a3f3615201b28e7c8
1 package SGN::Controller::Annotation;
3 use Moose;
5 BEGIN { extends 'Catalyst::Controller'; }
7 =head1 NAME
9 SGN::Controller::Annotation - show annotation pages for CG.org. add subroutines for other pages in annotation menu
12 =cut
15 sub annotation_index :Path('/annotation/index') Args(0) {
16 my $self = shift;
17 my $c = shift;
19 $c->stash->{template} = '/annotation/index.mas';
22 sub annotation_updates :Path('/annotation/updates') Args(0) {
23 my $self = shift;
24 my $c = shift;
26 $c->stash->{template} = '/annotation/updates.mas';