Do not require view overrides

View overrides were removed long ago, so no need to require an empty
list.

The next step will be class decorators.
This commit is contained in:
Pau Perez
2020-09-04 13:25:57 +02:00
parent 4fe24da3ec
commit 4499bc7313

View File

@@ -18,11 +18,6 @@ module Openfoodnetwork
Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c|
Rails.configuration.cache_classes ? require(c) : load(c)
end
# Load application's view overrides
Dir.glob(File.join(File.dirname(__FILE__), "../app/overrides/*.rb")) do |c|
Rails.configuration.cache_classes ? require(c) : load(c)
end
end
# Settings dependent on locale