[Nitro] Custom dispatcher

Jeff Lindsay progrium at gmail.com
Wed Aug 3 03:06:21 EDT 2005


But I want my own logic, not just a controller mapping. That's why I
want to specify the Dispatcher instance that is used like before, so I
can instansiate my own class. :P

On 8/3/05, George Moschovitis <george.moschovitis at gmail.com> wrote:
> try:
> 
> 
> Server.map(
>  '/' => RootController,
>  '/blog' => BlogController,
>  '/forum' => ForumController
> )
> 
> or
> 
> server.root = RootController
> server.root.blog = BlogController
> server.root.forum = ForumController
> 
> --
> http://www.gmosx.com
> http://www.nitrohq.com
> http://www.joy.gr
> 
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
> 


-- 
Jeff Lindsay
http://blogrium.com/




More information about the Nitro-general mailing list