comparison config/initializers/assets.rb @ 495:92929378413e

Update to latest rails
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:18:06 +0900
parents 5419f1c6a291
children
comparison
equal deleted inserted replaced
494:e508d3226214 495:92929378413e
4 Rails.application.config.assets.version = "1.0" 4 Rails.application.config.assets.version = "1.0"
5 5
6 # Add additional assets to the asset load path. 6 # Add additional assets to the asset load path.
7 # Rails.application.config.assets.paths << Emoji.images_path 7 # Rails.application.config.assets.paths << Emoji.images_path
8 Rails.application.config.assets.paths << Rails.root.join("node_modules") 8 Rails.application.config.assets.paths << Rails.root.join("node_modules")
9
10 # Precompile additional assets.
11 # application.js, application.css, and all non-JS/CSS in the app/assets
12 # folder are already added.
13 # Rails.application.config.assets.precompile += %w( admin.js admin.css )