Channel.pm: Actually deliver channel expressions.
[?]
Apr 27, 2015, 2:55 AM
JLGDA7AMM6P5J3NAIL4OR4DMG5J7TLCZKPBNOQLNCNKHLLVEX5HQCDependencies
- [2]
ZQUPXSBMTie custom channels into channel-contents.tt.
Change contents
- edit in src/lib/Hydra/Controller/Channel.pm at line 54
}sub nixexprs : Chained('channel') PathPart('') Args(1) {my ($self, $c, $productName) = @_;my $product = $c->stash->{lastSuccessful}->buildproducts->find({ type => "channel", name => $productName });my $url = $c->uri_for($c->controller("Build")->action_for("download"),[$c->stash->{lastSuccessful}->id],$product->productnr,$productName);$c->res->redirect($url); - edit in src/lib/Hydra/Controller/Channel.pm at line 75
sub binary_cache_url : Chained('channel') PathPart('binary-cache-url') Args(0) {my ($self, $c) = @_;$c->stash->{'plain'} = { data => $c->uri_for('/') };$c->response->content_type('text/plain');$c->forward('Hydra::View::Plain');}