Update routes loading for Rails 4

This commit is contained in:
Matt-Yorkley
2019-12-21 01:47:18 +01:00
committed by Luis Ramos
parent a12ec8c5d9
commit 5cc223e8f4

View File

@@ -105,7 +105,7 @@ module Openfoodnetwork
#{config.root}/app/jobs
)
config.paths["config/routes"] = %w(
config.paths["config/routes.rb"] = %w(
config/routes/api.rb
config/routes.rb
config/routes/admin.rb