mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user