0.37 Significnat changes after more research, for testing.

This commit is contained in:
David Sainty 2024-09-08 02:24:38 +10:00
parent f28ead070c
commit cd7e636a10

View File

@ -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: '<h1>JMJ</h1>'
end