doc fixes
Oskari Okko Ojala [Wed, 18 Jan 2012 09:10:14 +0000 (11:10 +0200)]
Changes
lib/Catalyst/Controller/MovableType.pm

diff --git a/Changes b/Changes
index 9c112cb..6e1e98d 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+0.004   2012-01-18
+        Fixed documentation: Indentation of configurations.
+        Fixed documentation: Tag name capture_script_name fixed to capture_mt_script.
+
 0.003
         2010-04-16
         Fixed internal not_found call to properly pass $c when an unexisting
index 1552419..600f674 100644 (file)
@@ -90,18 +90,18 @@ Move mt-static to root/static/mt. See Synopsis on how to inherit the Controller
 in your app. Presuming you installed Movable Type into root/mt, in your App's
 config add:
 
-<Controller::Root>
-    cgi_root_path mt/
-    cgi_dir mt/
-</Controller::Root>
-<Controller::Mt>
-    mt_home = /full/path/to/MyApp/root/mt/
-    <actions>
-        <capture_script_name>
-            PathPart = mt
-        </capture_script_name>
-    </actions>
-</Controller::Mt>
+ <Controller::Root>
+     cgi_root_path mt/
+     cgi_dir mt/
+ </Controller::Root>
+ <Controller::Mt>
+     mt_home = /full/path/to/MyApp/root/mt/
+     <actions>
+         <capture_mt_script>
+             PathPart = mt
+         </capture_mt_script>
+     </actions>
+ </Controller::Mt>
 
 The cgi_* directives are always given for the Root controller, no matter what
 the Root controller is.
@@ -112,14 +112,14 @@ shown above. This controller defaults to match on the path "/mt".
 Finally, make sure that the Static::Simple doesn't affect the Movable Type's
 installation directory. An example:
 
-__PACKAGE__->config(
-    name => 'TerveinkansaFi',
-                     static => {
-                        # first ignore all extensions, then specify static directories!
-                        'ignore_extensions' => [ qr/.*/ ],
-                        'dirs' => [ qw/static/ ]
-                        }
-);
+ __PACKAGE__->config(
+     name => 'MyApp',
+     static => {
+         # first ignore all extensions, then specify static directories!
+         'ignore_extensions' => [ qr/.*/ ],
+         'dirs' => [ qw/static/ ]
+     }
+ );
 
 =head1 METHODS