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 03d2e36 commit 6686bfb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
SiteSetting.port = '900'
end
# 2016-12-21
# 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__)
# 1) «LoadError: cannot load such file -- categories_controller»: https://github.com/discourse-pro/df-core-private/issues/13
# 2) The previous code was:
# require 'categories_controller'
# https://github.com/discourse-pro/df-core-private/blob/1.1.5/plugin.rb#L16
load File.expand_path(Rails.root + 'app/controllers/categories_controller.rb')
CategoriesController.class_eval do
# 2018-01-10
Expand Down

0 comments on commit 6686bfb

Please sign in to comment.