From: Tara L Andrews Date: Fri, 3 Feb 2012 19:54:13 +0000 (+0100) Subject: bugfix from dispatcher X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2Fstemmatology.git;a=commitdiff_plain;h=bff7bb42c0e5c60d8e0e25351d6382b3119492f2 bugfix from dispatcher --- diff --git a/stemmaweb/lib/stemmaweb/Controller/Relation.pm b/stemmaweb/lib/stemmaweb/Controller/Relation.pm index 25b91de..77de49e 100644 --- a/stemmaweb/lib/stemmaweb/Controller/Relation.pm +++ b/stemmaweb/lib/stemmaweb/Controller/Relation.pm @@ -106,7 +106,8 @@ relationship is returned in a struct that looks like: sub relationships :Private { my( $self, $c ) = @_; - my $collation = delete $c->stash->{'collation'}; + my $tradition = delete $c->stash->{'tradition'}; + my $collation = $tradition->collation; # TODO make this API my @pairs = $collation->relationships; # returns the edges my @all_relations;