From c37507c218ae9d0a4fc3ee4475b049de70b125d1 Mon Sep 17 00:00:00 2001 From: Dmitrii Fediuk Date: Mon, 26 Aug 2024 00:25:31 +0100 Subject: [PATCH] https://github.com/discourse-pro/df-core-private/issues/13 --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 405306a..5770b2f 100644 --- a/plugin.rb +++ b/plugin.rb @@ -16,7 +16,7 @@ # require 'categories_controller' # 2024-08-26 # «LoadError: cannot load such file -- categories_controller»: https://github.com/discourse-pro/df-core-private/issues/13 - load File.expand_path('../../../app/controllers/categories_controller.rb', __FILE__) + load File.expand_path('../../app/controllers/categories_controller.rb', __dir__) CategoriesController.class_eval do # 2018-01-10 # 1) «undefined method `before_filter' for CategoriesController:Class»