Nils Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame^] | 1 | package Korap::Info; |
2 | use Mojo::Base 'Mojolicious::Controller'; | ||||
3 | |||||
4 | sub about_match { | ||||
5 | my $c = shift; | ||||
6 | my $corpus_id = $c->stash('corpus_id'); | ||||
7 | my $doc_id = $c->stash('doc_id'); | ||||
8 | my $match_id = $c->stash('match_id'); | ||||
9 | |||||
10 | return $c->render(json => $c->notifications(json => $c->match_info($corpus_id, $doc_id, $match_id))); | ||||
11 | }; | ||||
12 | |||||
13 | 1; | ||||
14 | |||||
15 | __END__ |