[Catalyst-commits] r8835 - trunk/examples/CatalystAdvent/root/2008

zarquon at dev.catalyst.perl.org zarquon at dev.catalyst.perl.org
Fri Dec 12 00:10:57 GMT 2008


Author: zarquon
Date: 2008-12-12 00:10:56 +0000 (Fri, 12 Dec 2008)
New Revision: 8835

Modified:
   trunk/examples/CatalystAdvent/root/2008/11.pod
Log:
more light edits

Modified: trunk/examples/CatalystAdvent/root/2008/11.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2008/11.pod	2008-12-12 00:03:59 UTC (rev 8834)
+++ trunk/examples/CatalystAdvent/root/2008/11.pod	2008-12-12 00:10:56 UTC (rev 8835)
@@ -1,6 +1,6 @@
-=head1 Doing rails-style routes with Catalyst
+=head1 Doing Rails-style routes with Catalyst
 
-People often ask about using rails-style routes, and why Catalyst
+People often ask about using Rails-style routes, and why Catalyst
 doesn't "support" them. Well, actually, it does - through the magic of
 config.
 
@@ -11,13 +11,13 @@
 
   sub foo :Local {
 
-that makes the default attribute hash for foo C< { Local => [ '' ]
-} >. Well, it doesn't, because Local is parsed - what you actually get
-for
+that makes the default attribute hash for foo C< { Local => [ '' ] }
+>. Well, it doesn't, because when Local is parsed - what you actually
+get for the following:
 
   package MyApp::Controller::Name;
 
-  sub foo :Local {
+  sub foo :Local { # ...
 
 is C< {  Path => [ 'name/foo' ]  } >. Now, this can  be overriden from
 the config file by doing something like:
@@ -88,7 +88,7 @@
 
 But we were talking about routes, weren't we? Though I would observe
 that controllers' self-contained-ness is what makes this sort of
-subclass-to-reuse stuff possible; the rails guys say "re-use in the
+subclass-to-reuse stuff possible; the Rails guys say "re-use in the
 large is overrated", we say "well, actually, it's bloody hard, but if
 you're careful ...". Anyway.
 




More information about the Catalyst-commits mailing list