Skip to content

Commit

Permalink
display explorer version
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Oct 19, 2011
1 parent 76c9c89 commit c753c16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/MetaCPANExplorer.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package MetaCPANExplorer;
use strict; use strict;
use warnings; use warnings;
use parent qw/Amon2/; use parent qw/Amon2/;
our $VERSION='0.01'; our $VERSION='0.03';
use 5.008001; use 5.008001;


# __PACKAGE__->load_plugin(qw/DBI/); # __PACKAGE__->load_plugin(qw/DBI/);
Expand Down
2 changes: 1 addition & 1 deletion lib/MetaCPANExplorer/Web/Dispatcher.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ any '/' => sub {
} }


$c->fillin_form($c->req); $c->fillin_form($c->req);
$c->render('index.tt', \%stash); $c->render('index.tt', {%stash, version => $MetaCPANExplorer::VERSION});
}; };


1; 1;
1 change: 1 addition & 0 deletions tmpl/include/layout.tt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
</div> </div>
<footer> <footer>
Repository is here: <a href="https://github.com/tokuhirom/MetaCPANExplorer">https://github.com/tokuhirom/MetaCPANExplorer</a><br /> 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> Powered by <a href="http://amon.64p.org/">Amon2</a>
</footer> </footer>
</div> </div>
Expand Down

0 comments on commit c753c16

Please sign in to comment.