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.
2 parents 6cc3159 + 1d0a209 commit 567f15eCopy full SHA for 567f15e
lib/sprockets/railtie.rb
@@ -60,7 +60,7 @@ class Railtie < ::Rails::Railtie
60
61
LOOSE_APP_ASSETS = lambda do |logical_path, filename|
62
filename.start_with?(::Rails.root.join("app/assets").to_s) &&
63
- !%w(.js .css).include?(File.extname(logical_path))
+ !['.js', '.css', ''].include?(File.extname(logical_path))
64
end
65
66
class OrderedOptions < ActiveSupport::OrderedOptions
0 commit comments