[typo] Simple Routing question

Harry Seldon ruby-forum-incoming at andreas-s.net
Sun Mar 1 09:26:38 EST 2009


Cyril Mougel wrote:
> Harry Seldon a écrit :
>>> 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

Thx !
-- 
Posted via http://www.ruby-forum.com/.


More information about the Typo-list mailing list