0.28 reconfigure whole plugin to more advanced layout

This commit is contained in:
2024-09-07 22:20:10 +10:00
parent 59cfc9828b
commit 5ef7591185
5 changed files with 194 additions and 138 deletions

View File

@ -0,0 +1,14 @@
# plugins/discourse_legacy_links/app/controllers/custom_post_controller.rb
module DiscourseLegacyLinks
class CustomPostController < ::ApplicationController
layout false
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'
end
# Other actions and methods
end
end