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

zimba-tm zimba.tm at gmail.com
Tue Dec 20 06:09:24 EST 2005

Hi Chris,
I'm using glycerin at the moment. But I didn't had time to really testthis behavior. I'll try to come up with a test case today.

On 19/12/05, Chris Farmiloe <chris at motionpath.com> wrote:>> 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>> _______________________________________________> Nitro-general mailing list> Nitro-general at rubyforge.org> http://rubyforge.org/mailman/listinfo/nitro-general>>>

--Cheers,  zimba

More information about the Nitro-general mailing list