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
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list