From: Dave Rolsky Date: Sun, 23 Jan 2011 21:08:42 +0000 (-0600) Subject: Clarify leading slash on end point names X-Git-Tag: 0.01~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cc9a3314519953c71d59d0fe8643097a1b8cc49c;p=catagits%2FCatalystX-Routes.git Clarify leading slash on end point names --- diff --git a/lib/CatalystX/Routes.pm b/lib/CatalystX/Routes.pm index 63f0d82..1bde24f 100644 --- a/lib/CatalystX/Routes.pm +++ b/lib/CatalystX/Routes.pm @@ -321,6 +321,9 @@ is essentially ignored (but still required). Note that it is legitimate to pass the empty string as the name for a chain's end point. +If the end point's name does not start with a slash, it will be prefixed with +the controller's namespace. + If you don't specify a C value for an end point, then it will use the root URI, C, as the root of the chain.