4bbd93ded1
Adding the .ruby-verison file triggered previously un-run cops, specifically: This cop is designed to help upgrade to Ruby 3.0. It will add the comment `# frozen_string_literal: true` to the top of files to enable frozen string literals. Frozen string literals will be default in Ruby 3.0. The comment will be added below a shebang and encoding comment. The frozen string literal comment is only valid in Ruby 2.3+. More info on rubocop [Automatic-Corrections](https://github.com/bbatsov/rubocop/wiki/Automatic-Corrections)
17 lines
772 B
Ruby
17 lines
772 B
Ruby
# frozen_string_literal: true
|
|
# 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
|
|
|
|
# Precompile additional assets.
|
|
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
|
# Rails.application.config.assets.precompile += %w( search.js )
|
|
|
|
Rails.application.config.assets.precompile += ['vendor/assets/**/*']
|
|
Rails.application.config.assets.precompile += %w(ie9.js admin.js summary-edit.js live-coder.js)
|
|
Rails.application.config.assets.precompile += %w(mailers/foundation_vendor_manifest.scss)
|