v0.16 So close, but it doesn't work still...
This commit is contained in:
parent
82ca88caeb
commit
92d62c721b
14
plugin.rb
14
plugin.rb
@ -4,7 +4,7 @@
|
||||
|
||||
# name: discourse-legacy_links
|
||||
# about: A plugin to handle legacy Gossamer Forums URLs
|
||||
# version: 0.19
|
||||
# version: 0.20
|
||||
# authors: saint@federated.computer
|
||||
# url: https://gitea.federated.computer/saint/discourse-legacy_links.git
|
||||
|
||||
@ -21,12 +21,12 @@ after_initialize do
|
||||
end
|
||||
|
||||
# Define the custom controller
|
||||
class CustomPostController < ::ApplicationController
|
||||
skip_before_action :verify_authenticity_token
|
||||
skip_before_action :ensure_logged_in
|
||||
skip_before_action :redirect_to_login_if_required
|
||||
skip_before_action :check_xhr
|
||||
skip_before_action :ensure_staff
|
||||
class DiscourseLegacyLinks::CustomPostController < ::ApplicationController
|
||||
# skip_before_action :verify_authenticity_token
|
||||
# skip_before_action :ensure_logged_in
|
||||
# skip_before_action :redirect_to_login_if_required
|
||||
# skip_before_action :check_xhr
|
||||
# skip_before_action :ensure_staff
|
||||
|
||||
def test
|
||||
Rails.logger.warn "[WARN WARN WARN WARN WARN WARN WARN WARN WARN WARN AMDG JMJ PAX WARN WARN WARN WARN]"
|
||||
|
Loading…
Reference in New Issue
Block a user