0.37 Significnat changes after more research, for testing.
This commit is contained in:
parent
f28ead070c
commit
cd7e636a10
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
# name: discourse-legacy_links
|
# name: discourse-legacy_links
|
||||||
# about: A plugin to handle legacy Gossamer Forums URLs
|
# about: A plugin to handle legacy Gossamer Forums URLs
|
||||||
# version: 0.36
|
# version: 0.37
|
||||||
# authors: saint@federated.computer
|
# authors: saint@federated.computer
|
||||||
# url: https://gitea.federated.computer/saint/discourse-legacy_links.git
|
# 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
|
# Define the custom controller, inheriting from Discourse's CustomPostController
|
||||||
# This gives us access to post-related functionality and user authentication
|
# This gives us access to post-related functionality and user authentication
|
||||||
# class DiscourseLegacyLinks::CustomPostController < ::ApplicationController
|
# class DiscourseLegacyLinks::CustomPostController < ::ApplicationController
|
||||||
class DiscourseLegacyLinks < ::ApplicationController::CustomPostController
|
class LegacyLinksController < ::ApplicationController::CustomPostController
|
||||||
|
|
||||||
# layout false
|
# layout false
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ after_initialize do
|
|||||||
|
|
||||||
def index2
|
def index2
|
||||||
Rails.logger.warn "[WARN WARN WARN WARN WARN WARN WARN WARN WARN WARN AMDG JMJ PAX WARN WARN WARN WARN]"
|
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>'
|
# render html: '<h1>JMJ</h1>'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user