From 802266bb355ac3a2a3099902a913d8d426343ece Mon Sep 17 00:00:00 2001 From: "Ben R." <15339915+rtfm98@users.noreply.github.com> Date: Tue, 14 Jul 2026 12:34:28 +0200 Subject: [PATCH] Update plugin.rb Replace "load" with "require_relative" as proposed by Discourse Dev Environment --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index b08b261..7788e64 100644 --- a/plugin.rb +++ b/plugin.rb @@ -87,7 +87,7 @@ ../extensions/post_revisor.rb ../extensions/posts_controller.rb ../extensions/topic.rb - ].each { |path| load File.expand_path(path, __FILE__) } + ].each { |path| require_relative File.expand_path(path, __FILE__) } ###### Site ######