App-MojoSlides
view release on metacpan or search on metacpan
lib/App/MojoSlides.pm view on Meta::CPAN
);
my $finally = $self->config->{finally};
$self->$finally();
}
sub _action {
my $c = shift;
my $slides = $c->app->slides;
my $slide = $slides->template_for($c->stash('slide'))
or return $c->render_not_found;
$c->render($slide, layout => 'basic') || $c->render_not_found;
}
sub _column {
my $c = shift;
my $cols = ref $_[0] ? shift : [ shift ];
my $class = join ' ', map { "col-md-$_" } @$cols;
return $c->tag( div => class => $class, @_ );
}
# hic sunt dracones
( run in 1.321 second using v1.01-cache-2.11-cpan-0a987023a57 )