Skip to content

Commit

Permalink
documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 30, 2012
1 parent 1def64d commit 22e2fb6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.93 2012-05-01
- Improved documentation.

2.92 2012-04-30
- Added commands attribute to Mojolicious.
- Improved documentation.
Expand Down
7 changes: 3 additions & 4 deletions lib/Mojolicious.pm
Expand Up @@ -34,7 +34,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Leaf Fluttering In Wind';
our $VERSION = '2.92';
our $VERSION = '2.93';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down Expand Up @@ -298,9 +298,8 @@ level from C<debug> to C<info> if it has a value other than C<development>.
my $plugins = $app->plugins;
$app = $app->plugins(Mojolicious::Plugins->new);
The plugin loader, defaults to a L<Mojolicious::Plugins> object. You can
usually leave this alone, see L<Mojolicious::Plugin> if you want to write a
plugin or the C<plugin> method below if you want to load a plugin.
The plugin manager, defaults to a L<Mojolicious::Plugins> object. See the
C<plugin> method below if you want to load a plugin.
# Add another namespace to load plugins from
push @{$app->plugins->namespaces}, 'MyApp::Plugin';
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/Plugin.pm
Expand Up @@ -28,8 +28,8 @@ the following new ones.
$plugin->register;
This method will be called by L<Mojolicious::Plugins> at startup time, your
plugin should use this to hook into the application.
This method will be called by L<Mojolicious::Plugins> at startup time. Meant
to be overloaded in a subclass.
=head1 SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugins.pm
Expand Up @@ -68,7 +68,7 @@ sub _load {

=head1 NAME
Mojolicious::Plugins - Plugins
Mojolicious::Plugins - Plugin manager
=head1 SYNOPSIS
Expand Down

0 comments on commit 22e2fb6

Please sign in to comment.