We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ded1df commit c00bd69Copy full SHA for c00bd69
1 file changed
test/dummy_rails/config/application.rb
@@ -22,6 +22,10 @@
22
module Dummy
23
class Application < Rails::Application
24
config.assets.enabled = true if config.assets.respond_to?(:enabled)
25
+ if Rails::VERSION::MAJOR > 4
26
+ # Rails 4 precompiles application.css|js by default, but future version of Rails do not.
27
+ config.assets.precompile += %w( application.css application.js )
28
+ end
29
config.to_prepare do
30
if ENV['VERBOSE']
31
STDERR.puts "Loaded Rails #{Rails::VERSION::STRING}, Sprockets #{Sprockets::VERSION}",
0 commit comments