Web file directory fixes

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

Looking through the test specs I saw Nitro::Application.current. Seems
better than using $nitro_current_application

Is it still correct to spam the group with patches, or should I be
sending them directly to George?

please ‘spam’ the group :wink:

thanks for the patch.

-g.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs