From 384ebb87cff9a5ba6efbbd28dc3abc7a536eafda Mon Sep 17 00:00:00 2001 From: saint Date: Sat, 7 Sep 2024 17:01:52 +1000 Subject: [PATCH] v0.16 So close, but it doesn't work still... --- plugin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.rb b/plugin.rb index 75fcb68..1781a94 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.16 +# version: 0.17 # authors: saint@federated.computer # url: https://gitea.federated.computer/saint/discourse-legacy_links.git @@ -21,7 +21,7 @@ after_initialize do end # Define the custom controller - class DiscourseLegacyLinks::CustomPostController < ::ApplicationController + class CustomPostController < ::ApplicationController skip_before_action :verify_authenticity_token skip_before_action :ensure_logged_in skip_before_action :redirect_to_login_if_required