[Catalyst] auto method never triggered

Julien Sobrier julien at sobrier.net
Mon Nov 2 02:07:32 GMT 2009


Thank you

Shoudl It put __PACKAGE__->config->{namespace} =3D ''root;, or simply remove
this line?

Thank you

Julien


On Sun, Nov 1, 2009 at 1:29 AM, Kieren Diment <diment at gmail.com> wrote:

>
> On 01/11/2009, at 3:36 PM, Julien Sobrier wrote:
>
>  BTW, both Root.pm and Admin.pm have this line:
>>
>> __PACKAGE__->config->{namespace} =3D '';
>>
>> Not sure if it makes a difference.
>>
>
>
> Yes it does.  This line stops the Root controller matching /root in the
> public namespace.  Having this in two different controllers will have
> unpredictable consequences.
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20091101/f9442=
e61/attachment.htm


More information about the Catalyst mailing list