noosfero | WIP: Rails 5.1.6 Upgrade (!1438)

Álax Alves gitlab at mg.gitlab.com
Thu May 24 11:11:02 BRT 2018


Álax Alves commented on a discussion on config/initializers/assets.rb:

> +# Be sure to restart your server when you modify this file.
> +
> +# Version of your assets, change this if you want to expire all your assets.
> +Rails.application.config.assets.version = '1.0'
> +
> +# Add additional assets to the asset load path.
> +# Rails.application.config.assets.paths << Emoji.images_path
> +# Add Yarn node_modules folder to the asset load path.
> +Rails.application.config.assets.paths << Rails.root.join('node_modules')

This is a default config that came from running Rails' `rails app:update` task, now that Rails is supporting Yarn I believe that the configuration came from this new support.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1438#note_74829237
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/20180524/93e02940/attachment-0001.html>


More information about the Noosfero-dev mailing list