From e128adec9d1c2d94044a479e2fa87fa24d8a3e08 Mon Sep 17 00:00:00 2001 From: Nat Date: Wed, 19 Mar 2025 13:23:06 +0800 Subject: [PATCH] route --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index e17c52b..2bfd416 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,4 +5,4 @@ DiscourseSolved::Engine.routes.draw do post "/unaccept" => "answer#unaccept" end -Discourse::Application.routes.append { mount ::DiscourseSolved::Engine, at: "solution" } +Discourse::Application.routes.draw { mount ::DiscourseSolved::Engine, at: "solution" }