lib/doorkeeper/engine.rb in doorkeeper-4.4.3 vs lib/doorkeeper/engine.rb in doorkeeper-5.0.0.rc1

- old
+ new

@@ -15,9 +15,13 @@ end end if defined?(Sprockets) && Sprockets::VERSION.chr.to_i >= 4 initializer 'doorkeeper.assets.precompile' do |app| + # Force users to use: + # //= link doorkeeper/admin/application.css + # in Doorkeeper 5 for Sprockets 4 instead of precompile. + # Add note to official docs & Wiki app.config.assets.precompile += %w[ doorkeeper/application.css doorkeeper/admin/application.css ] end