3560dfc9ce630fe7635f2ce8f664c48582c8c841
[scpubgit/stemmaweb.git] / lib / stemmaweb / View / GraphML.pm
1 package stemmaweb::View::GraphML;
2
3 use strict;
4 use base 'Catalyst::View';
5
6 sub 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
13 1;