projects
/
scpubgit/stemmatology.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixes for stemma retrieval and for relative paths in JS
[scpubgit/stemmatology.git]
/
stemmaweb
/
lib
/
stemmaweb
/
Controller
/
Root.pm
diff --git
a/stemmaweb/lib/stemmaweb/Controller/Root.pm
b/stemmaweb/lib/stemmaweb/Controller/Root.pm
index
4b4e5e8
..
de51958
100644
(file)
--- a/
stemmaweb/lib/stemmaweb/Controller/Root.pm
+++ b/
stemmaweb/lib/stemmaweb/Controller/Root.pm
@@
-128,8
+128,8
@@
sub stemma :Local :Args(1) {
$m->store( $tradition );
}
- $c->stash->{'result'} = $tradition->stemma
- ? $tradition->stemma->as_svg
+ $c->stash->{'result'} = $tradition->stemma_count
+ ? $tradition->stemma(0)->as_svg
: '';
$c->forward('View::SVG');
}