projects
/
scpubgit/stemmaweb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
bugfix for returning edited stemma
[scpubgit/stemmaweb.git]
/
lib
/
stemmaweb
/
Controller
/
Root.pm
diff --git
a/lib/stemmaweb/Controller/Root.pm
b/lib/stemmaweb/Controller/Root.pm
index
11e54af
..
7159680
100644
(file)
--- a/
lib/stemmaweb/Controller/Root.pm
+++ b/
lib/stemmaweb/Controller/Root.pm
@@
-449,7
+449,7
@@
sub stemma :Local :Args(2) {
$c->stash->{'result'} = $stemma->as_svg();
$c->forward('View::SVG');
} else { # JSON
- $c->stash->{'result'} = { _stemma_info( $stemma, $stemmaid ) };
+ $c->stash->{'result'} = _stemma_info( $stemma, $stemmaid );
$c->forward('View::JSON');
}
}