Permalink
Browse files

display explorer version

  • Loading branch information...
1 parent 76c9c89 commit c753c16c301ce86f582b362073f802c336e78753 @tokuhirom committed Oct 19, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −1 lib/MetaCPANExplorer.pm
  2. +1 −1 lib/MetaCPANExplorer/Web/Dispatcher.pm
  3. +1 −0 tmpl/include/layout.tt
View
@@ -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/);
@@ -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
@@ -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>

0 comments on commit c753c16

Please sign in to comment.