mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
same as previous commit, but with more force
This commit is contained in:
parent
f44fe3e689
commit
56a6c96f38
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module Discourse
|
|||
|
||||
# Precompile all defer
|
||||
Dir.glob("#{config.root}/app/assets/javascripts/defer/*.js").each do |file|
|
||||
config.assets.precompile << "defer/#{file.match(/([a-z_A-Z]+\.js)$/)[1]}"
|
||||
config.assets.precompile << "defer/#{File.basename(file)}"
|
||||
end
|
||||
|
||||
# Precompile all available locales
|
||||
|
|
Loading…
Reference in a new issue