noosfero | WIP: Rails 5.1.6 Upgrade (!1438)

Álax Alves gitlab at mg.gitlab.com
Thu Jun 28 13:53:31 BRT 2018


Álax Alves commented on a discussion on app/api/app.rb:

>          @@NOOSFERO_CONF
>        else
>          file = Rails.root.join('config', 'noosfero.yml')
> -        @@NOOSFERO_CONF = File.exists?(file) ? YAML.load_file(file)[Rails.env] || {} : {}
> +        @@NOOSFERO_CONF = File.exists?(file.id) ? YAML.load_file(file)[Rails.env] || {} : {}

You're right, this wasn't supposed to be done. Probably happened after a "super" replace.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1438#note_84843659
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180628/084c559f/attachment.html>


More information about the Noosfero-dev mailing list