projects
/
scpubgit/stemmaweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3cb9d9c
)
bugfix for returning edited stemma
Tara L Andrews [Tue, 10 Jun 2014 09:44:42 +0000 (11:44 +0200)]
lib/stemmaweb/Controller/Root.pm
patch
|
blob
|
blame
|
history
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');
}
}