DEV: Fix Zeitwerk reloading error (#89)
Using `.append` can lead to a 'two routes with the same name' error
This commit is contained in:
parent
8742535024
commit
68bc80e19d
|
@ -16,4 +16,4 @@ DiscourseAi::Engine.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
Discourse::Application.routes.append { mount ::DiscourseAi::Engine, at: "discourse-ai" }
|
||||
Discourse::Application.routes.draw { mount ::DiscourseAi::Engine, at: "discourse-ai" }
|
||||
|
|
Loading…
Reference in New Issue