[Catalyst] Branding - or path prefix

Zbyszek Lukasiak zby at zby.aster.net.pl
Sun Jul 31 15:28:53 CEST 2005


On Sat, Jul 30, 2005 at 09:07:05AM -0700, Bill Moseley wrote:
... 
>     http://localhost/some/path/to/action
> 
> and instead prefix with "blue":
> 
>     http://localhost/blue/some/path/to/action
> 
I have the same need with localization - I need the controller (or the
template) to know the language.  Currently I just check the path with
some regexp - but I feel that there should be some more elegant
solution.

-- Zbyszek





More information about the Catalyst mailing list