[Nitro] BUG: Using Nitro::Controller as main controller breaks template_root

Chris Farmiloe chris at motionpath.com
Mon Dec 19 16:58:11 EST 2005


Can't seem to replicate this zimba? I get taken to the correct xhtml.

what version are you using?


chrisfarms.


On 19 Dec 2005, at 21:38, zimba-tm wrote:

> Sorry I don't have the time to debug this right now but I still  
> wantto report it.
> ========== test case =========
> require 'nitro'
> class MainController < Nitro::Controllerend
> class ChildController < Nitro::Controllerend
> Nitro::Server.map = {  '/child' => ChildController,  '/' =>  
> MainController}
> Nitro.run
> =========================
> === pulic folder ===index.xhtmlchild/  index.xhtml============
> Replace MainController with Nitro::Controller in Server.map.Goto to  
> http://localhost:9999/child with your browser.
> nitro will use public/index.xhtml instead of public/child/index.xhtml
> --Cheers,  zimba
> http://zimba.oree.ch
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20051219/32a0a05b/attachment.html 


More information about the Nitro-general mailing list