Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

display explorer version

  • Loading branch information...
commit c753c16c301ce86f582b362073f802c336e78753 1 parent 76c9c89
@tokuhirom authored
View
2  lib/MetaCPANExplorer.pm
@@ -2,7 +2,7 @@ package MetaCPANExplorer;
use strict;
use warnings;
use parent qw/Amon2/;
-our $VERSION='0.01';
+our $VERSION='0.03';
use 5.008001;
# __PACKAGE__->load_plugin(qw/DBI/);
View
2  lib/MetaCPANExplorer/Web/Dispatcher.pm
@@ -26,7 +26,7 @@ any '/' => sub {
}
$c->fillin_form($c->req);
- $c->render('index.tt', \%stash);
+ $c->render('index.tt', {%stash, version => $MetaCPANExplorer::VERSION});
};
1;
View
1  tmpl/include/layout.tt
@@ -26,6 +26,7 @@
</div>
<footer>
Repository is here: <a href="https://github.com/tokuhirom/MetaCPANExplorer">https://github.com/tokuhirom/MetaCPANExplorer</a><br />
+ API Explorer version [% version %]<br />
Powered by <a href="http://amon.64p.org/">Amon2</a>
</footer>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.