[typo] Simple Routing question

Cyril Mougel cyril.mougel at gmail.com
Sun Mar 1 08:20:56 EST 2009


Harry Seldon a écrit :
> Cyril Mougel wrote:
>   
>> Harry Seldon a �crit :
>>     
>>> Is there a simple way to activate this route just for the test_it
>>> controller ?
>>> The answer is probably simple but I don't know much about the routing
>>> system.
>>>   
>>>       
>> In typo route there are a route with *from. this route get all route and
>> use to redirectcontroller. Create your route before this route and named 
>> it.
>>     
>
> OK. I am afraid of abusing, but can you remind me how to form a named 
> route ;-)
>   
map.test_it '/test_it', :controller => 'Tests', :action => 'test'

test_it_url

-- 
Cyril Mougel


More information about the Typo-list mailing list