[Nitro] Nitro::Dispatcher::ROOT and running nitro in a subdirectory...

Bryan Soto bryan.a.soto at gmail.com
Tue Apr 11 18:42:08 EDT 2006

On 4/11/06, Andrew Thompson <vagabond at cataclysm-software.net> wrote:
> Bryan Soto wrote:
> > With your views, I think if you use encode_url (R is an alias to it),
> > you'll get integration with the doc root stuff. Has the benefit too
> > that you don't have to update all the urls if you ever move to a new
> > directory or change a mount point. :)
> This ain't working for me, I just get /#<NullClass:0x8992d70>/login when
> I use rewrite_url. It looks like the call of mount_point on the
> annotation is returning Null.

Well, it did say it was experimental. :/

> Anyway I'm done for today...

One last attempt for me. Well two cause there's two patches. One for
controller.rb (rather than squeeze, I just took out the leading
forward slash) and dispatcher.rb (on controller mount I set that

/me crosses fingers for good news.

"Never tell people how to do things. Tell them what to do and they
will surprise you with their ingenuity." —General George S. Patton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: controller.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060411/a34978ff/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dispatcher.patch
Type: text/x-patch
Size: 356 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060411/a34978ff/attachment-0001.bin 

More information about the Nitro-general mailing list