From cd7e636a10abc69888d9930819e5456925172312 Mon Sep 17 00:00:00 2001 From: saint Date: Sun, 8 Sep 2024 02:24:38 +1000 Subject: [PATCH] 0.37 Significnat changes after more research, for testing. --- plugin.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin.rb b/plugin.rb index 0b8df66..c4abc4c 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.36 +# version: 0.37 # authors: saint@federated.computer # url: https://gitea.federated.computer/saint/discourse-legacy_links.git @@ -26,7 +26,7 @@ after_initialize do # Define the custom controller, inheriting from Discourse's CustomPostController # This gives us access to post-related functionality and user authentication # class DiscourseLegacyLinks::CustomPostController < ::ApplicationController - class DiscourseLegacyLinks < ::ApplicationController::CustomPostController + class LegacyLinksController < ::ApplicationController::CustomPostController # layout false @@ -42,7 +42,7 @@ after_initialize do def index2 Rails.logger.warn "[WARN WARN WARN WARN WARN WARN WARN WARN WARN WARN AMDG JMJ PAX WARN WARN WARN WARN]" - render plain: 'Test route JMJ' + render plain: "Test route JMJ" # render html: '

JMJ

' end