whitespace cleanup
[catagits/Catalyst-Runtime.git] / lib / Catalyst / DispatchType / Chained.pm
index 2eb0bc1..34faf94 100644 (file)
@@ -317,12 +317,12 @@ sub recurse_match {
                     !$best_action                       ||
                     @parts < @{$best_action->{parts}}   ||
                     (
-                        !@parts && 
-                        defined($args_attr) && 
+                        !@parts &&
+                        defined($args_attr) &&
                         (
                             $args_count eq "0" &&
                             (
-                              ($c->config->{use_chained_args_0_special_case}||0) || 
+                              ($c->config->{use_chained_args_0_special_case}||0) ||
                                 (
                                   exists($best_action->{args_count}) && defined($best_action->{args_count}) ?
                                   ($best_action->{args_count} ne 0) : 1
@@ -702,7 +702,7 @@ controller. For Example:
   # in MyApp::Controller::Foo
   sub bar : Chained CaptureArgs(1) { ... }
 
-  # in MyApp::Controller::Foo::Moo
+  # in MyApp::Controller::Foo::Bar
   sub bar : ChainedParent Args(1) { ... }
 
 This builds a chain like C</bar/*/bar/*>.