0.31 more attempts...
This commit is contained in:
parent
8abc394b3f
commit
293b1a19d0
@ -4,7 +4,7 @@
|
||||
|
||||
# name: discourse-legacy_links
|
||||
# about: A plugin to handle legacy Gossamer Forums URLs
|
||||
# version: 0.30
|
||||
# version: 0.31
|
||||
# authors: saint@federated.computer
|
||||
# url: https://gitea.federated.computer/saint/discourse-legacy_links.git
|
||||
|
||||
@ -14,6 +14,9 @@
|
||||
|
||||
# after_initialize do
|
||||
after_initialize do
|
||||
|
||||
require_dependency 'application_controller'
|
||||
|
||||
module ::DiscourseLegacyLinks
|
||||
class Engine < ::Rails::Engine
|
||||
engine_name "discourse_legacy_links"
|
||||
@ -31,7 +34,8 @@ 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'
|
||||
# render plain: 'Test route'
|
||||
render html: '<h1>JMJ</h1>'
|
||||
end
|
||||
|
||||
# Match URLs that include a post_id at the end or query parameter
|
||||
|
Loading…
Reference in New Issue
Block a user