From 476a5184167d7294e2f8d8c2a3413e825b6c5f72 Mon Sep 17 00:00:00 2001 From: saint Date: Sat, 7 Sep 2024 02:09:20 +1000 Subject: [PATCH] v0.8 So close, but it doesn't work still... --- plugin.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin.rb b/plugin.rb index 1c5082d..feca1ad 100644 --- a/plugin.rb +++ b/plugin.rb @@ -4,7 +4,7 @@ # name: discourse-legacy_links # about: A plugin to handle legacy Gossamer Forums URLs -# version: 0.7 +# version: 0.8 # authors: saint@federated.computer # url: https://gitea.federated.computer/saint/discourse-legacy_links.git @@ -124,8 +124,6 @@ after_initialize do # Register custom routes to handle legacy URLs Discourse::Application.routes.append do get '/forum/*path' => 'discourse_legacy_links/custom_post#index' - end - Discourse::Application.routes.append do get '/forum' => 'discourse_legacy_links/custom_post#index' end end