1 package MojoFacets::Changes;
6 use base 'Mojolicious::Controller';
12 foreach my $path ( glob '/tmp/changes/*' ) {
13 if ( $path =~ m{/(\d+\.\d+)\.(.+)$} ) {
14 push @$changes, [ $1, split(/\./, $2) ];
16 warn "ignore: $path\n";
20 # Render template "changes/index.html.ep" with message
21 $self->render(message => 'Latest Changes', changes => $changes );