noosfero | WIP: Rails 5.1.6 Upgrade (!1438)
Gabriel Silva
gitlab at mg.gitlab.com
Tue Jun 26 10:27:27 BRT 2018
Gabriel Silva started a new 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] || {} : {}
qual o motivo pra esse `.id`? `Rails.root.join` não retorna um Pathname?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1438#note_84253523
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/20180626/772970e2/attachment-0001.html>
More information about the Noosfero-dev
mailing list