Skip to content

Commit

Permalink
https://github.com/discourse-pro/df-core-private/issues/13
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 25, 2024
1 parent c37507c commit 03d2e36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# 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', __dir__)
# load File.expand_path('../../app/controllers/categories_controller.rb', __dir__)
load File.expand_path(Rails.root + 'app/controllers/categories_controller.rb')
CategoriesController.class_eval do
# 2018-01-10
# 1) «undefined method `before_filter' for CategoriesController:Class»
Expand Down

0 comments on commit 03d2e36

Please sign in to comment.