diff --git a/plugin.rb b/plugin.rb index 8112555..fae3d9d 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.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: '