mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-16 16:34:45 +00:00
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…
x
Reference in New Issue
Block a user