Skip to content

Commit

Permalink
Expand the missing files to precompile
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-smits committed May 7, 2020
1 parent 6a4bc8b commit 5dfeeb7
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions config/initializers/assets.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
if Rails::Application.instance_methods.include?(:assets_manifest)
Rails.application.config.assets.precompile += %w[swaggard/application_print.css
swaggard/favicon-32x32.png
swaggard/favicon-16x16.png
swaggard/lang/*.js
swaggard/logo_small.png]

Rails.application.config.assets.precompile += %w[ swaggard/application.js
swaggard/application.css
swaggard/application_print.css
swaggard/favicon-32x32.png
swaggard/favicon-16x16.png
swaggard/lang/ca.js
swaggard/lang/el.js
swaggard/lang/en.js
swaggard/lang/es.js
swaggard/lang/fr.js
swaggard/lang/geo.js
swaggard/lang/it.js
swaggard/lang/ja.js
swaggard/lang/ko-kr.js
swaggard/lang/pl.js
swaggard/lang/pt.js
swaggard/lang/ru.js
swaggard/lang/tr.js
swaggard/lang/zh-cn.js
swaggard/logo_small.png
]
end

0 comments on commit 5dfeeb7

Please sign in to comment.