[Catalyst] Strange uri_for behaviour

Marcello Romani mromani at ottotecnica.com
Mon May 26 15:06:51 BST 2008


Andreas Marienborg ha scritto:
> Upgrade Catalyst::Runtime to 5.7014
> 
> - andreas
> 
> On May 26, 2008, at 3:10 PM, Marcello Romani wrote:
> 
>> Hi,
>>    I'm writing an app from scratch, using dbic and tt as db and 
>> template systems.
>> When I put something like this:
>>
>> Catalyst.uri_for('create')
>>
>> in a template, the url that gets into the page is not 
>> <controller>/create, as I expected, but rather
>>
>> /tt/create
>>
>> which is of course wrong.
>>
>> I have done some search but could not find any pointers for where to 
>> start looking...
>>
>> Any hints ?
>>
>> Thank you in advance.
>>
>> PS: Catalyst, DBIx::Class and Template::Toolkit are at their latest 
>> revisions.
>>
>> -- 
>> Marcello Romani
>> Responsabile IT
>> Ottotecnica s.r.l.
>> http://www.ottotecnica.com
>>
>> _______________________________________________
>> 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/
> 
> 
> _______________________________________________
> 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/
> 

That fixed it, thank you!

-- 
Marcello Romani
Responsabile IT
Ottotecnica s.r.l.
http://www.ottotecnica.com



More information about the Catalyst mailing list