File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 5656 # Debug mode disables concatenation and preprocessing of assets.
5757 # This option may cause significant delays in view rendering with a large
5858 # number of complex assets.
59- config . assets . debug = true
59+
60+ if Gem ::Version . new ( Rails . version ) < Gem ::Version . new ( "7.0.0.alpha2" )
61+ config . assets . debug = true
6062
61- # Suppress logger output for asset requests.
62- config . assets . quiet = true
63+ # Suppress logger output for asset requests.
64+ config . assets . quiet = true
65+ end
6366
6467 # Raises error for missing translations.
6568 # config.i18n.raise_on_missing_translations = true
Original file line number Diff line number Diff line change 11# Be sure to restart your server when you modify this file.
22
33# Version of your assets, change this if you want to expire all your assets.
4- Rails . application . config . assets . version = '1.0'
4+ if Gem ::Version . new ( Rails . version ) < Gem ::Version . new ( "7.0.0.alpha2" )
5+ Rails . application . config . assets . version = '1.0'
6+ end
57
68# Add additional assets to the asset load path.
79# Rails.application.config.assets.paths << Emoji.images_path
You can’t perform that action at this time.
0 commit comments