Permalink
Browse files

fixed docs

  • Loading branch information...
1 parent 5bf27bf commit d90abc5f658d4043f25a9eb23c26aa35df3b88cd @jjn1056 committed Apr 6, 2012
Showing with 7 additions and 4 deletions.
  1. +3 −0 Changes
  2. +1 −1 dist.ini
  3. +3 −3 lib/Catalyst/Plugin/EnableMiddleware.pm
View
3 Changes
@@ -1,4 +1,7 @@
Revision history for Catalyst-Plugin-EnableMiddleware
+0.002 06 April 2012
+ - Fixed 'to much cut and paste' in the docs
+
0.001 05 April 2012
- initial release with all features complete
View
2 dist.ini
@@ -4,7 +4,7 @@ author = John Napiorkowski <jjnapiork@cpan.org>
license = Perl_5
copyright_holder = John Napiorkowski
copyright_year = 2012
-version = 0.001
+version = 0.002
[@Basic]
[Prereqs]
View
6 lib/Catalyst/Plugin/EnableMiddleware.pm
@@ -113,7 +113,7 @@ However there may be cases when you'd rather enable middleware via you L<Catalys
application, rather in a stand alone file. For example, you may wish to let your
L<Catalyst> application have control over the middleware configuration.
-This plugin lets you enable L<Plack> applications via configuration. For example,
+This plugin lets you enable L<Plack> middleware via configuration. For example,
the above mapping could be re-written as follows:
package MyApp::Web;
@@ -154,7 +154,7 @@ doesn't preclude the other.
=head1 CONFIGURATION
Configuration for this plugin should be a hashref under the top level key
-C<Plugin::URLMap>, as in the following:
+C<Plugin::EnableMiddleware>, as in the following:
__PACKAGE__->config(
'Plugin::EnableMiddleware', \@middleware);
@@ -188,7 +188,7 @@ John Napiorkowski L<email:jjnapiork@cpan.org>
=head1 SEE ALSO
-L<Plack>, L<Plack::App::URLMap>, L<Catalyst>
+L<Plack>, L<Plack::Middleware>, L<Catalyst>
=head1 COPYRIGHT & LICENSE

0 comments on commit d90abc5

Please sign in to comment.