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