Forum: Nitro web file directory fixes

Posted by Robert Mela (Guest)
on 2007-10-01 23:07
Attachment: webfile_upload_dir_fix.tar.gz (17,8 KB)
Attachment: rob.vcf (117 Bytes)
(Received via mailing list)
Is it still correct to spam the group with patches, or should I be
sending them directly to George?

Anyhow, here are some fixes to get WebFile working with forms & Og

Two little things:

replace Nitro::Server.public_root with 
$nitro_current_application.public_dir
replace WebFile.upload_root with WebFile.upload_dir, since WebFile
defines upload_dir but not upload_root
Posted by Robert Mela (Guest)
on 2007-10-02 03:47
Attachment: rob.vcf (117 Bytes)
(Received via mailing list)
Looking through the test specs I saw Nitro::Application.current.  Seems
better than using $nitro_current_application
Posted by George Moschovitis (Guest)
on 2007-10-03 10:20
(Received via mailing list)
>
> Is it still correct to spam the group with patches, or should I be
> sending them directly to George?


please 'spam' the group ;-)

thanks for the patch.

-g.
This topic is locked and can not be replied to.