[Catalyst] Add a /doc/ path at the end of all paths?

Ovid publiustemp-catalyst at yahoo.com
Thu Feb 26 15:20:54 GMT 2009


----- Original Message ----
> From: Ovid <publiustemp-catalyst at yahoo.com>

> It doesn't work.  $self is *always* a PIPs::C::API::V1::Franchise instance, no 
> matter which URL is called.  This appears to be because of this:
> 
>   [26 Feb 2009 15:07:40,509] [Catalyst.Dispatcher] [DEBUG] Loaded Private 
> actions:
>   
> .-----------------------+--------------------------------------+--------------.
>   | Private               | Class                                | Method      
> |
>   
> +-----------------------+--------------------------------------+--------------+
>   ...
>   | /api/v1/franchise/doc | PIPs::C::Api::V1::Franchise          | doc          
> |

I think that should actually have been this:

  [26Feb200915:07:40,514][Catalyst.DispatchType.Regex][DEBUG]LoadedRegex actions:
.--------------------------------------+--------------------------------------.
|Regex                                |Private                              |
  +--------------------------------------+--------------------------------------+
  |/doc$                                | /api/v1/franchise/doc                |
  |/doc$                                | /api/v1/version/doc                  |
  |/doc$                                | /api/v1/creditrole/doc               |
  ...Cheers,
Ovid




More information about the Catalyst mailing list