mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
This approach is better to separate concerns, see “Isolated Engine” here: https://api.rubyonrails.org/v3.2/classes/Rails/Engine.html
6 lines
80 B
Ruby
6 lines
80 B
Ruby
module Web
|
|
class Engine < ::Rails::Engine
|
|
isolate_namespace Web
|
|
end
|
|
end
|