[Nitro] Nitro: cannot control the current path of a controller when skins are called

Jonathan Buch john at oxyliquit.de
Tue Jun 26 12:36:25 EDT 2007


Hi,

> I'm new to nitro and ruby :)

just on short notice (I hope I read your post correct, I was slightly
in a hurry):

cwd = File.dirname(__FILE__)

require "#{cwd}/deed/email"
require "#{cwd}/deed/sms"

This is what I do in 'subprojects'.  It doesn't look that nice, but
it works for me and doesn't clutter the load path.

Jo

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the Nitro-general mailing list