add download button for viewable traditions; fixes #8
[scpubgit/stemmaweb.git] / lib / stemmaweb / View / GraphML.pm
CommitLineData
38627d20 1package stemmaweb::View::GraphML;
2
3use strict;
4use base 'Catalyst::View';
5
6sub process {
7 my( $self, $c ) = @_;
8 $c->res->content_type( 'application/graphml+xml' );
9 $c->res->content_encoding( 'UTF-8' );
10 $c->res->output( $c->stash->{result} );
11}
12
131;