A platform for community discussion. Free, open, simple.
DEV: minor fixes related to zeitwerk
Sam Saffron3f6af54fe1a5
diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rbindex edf64024396..91439d66d1e 100644--- a/app/controllers/tags_controller.rb+++ b/app/controllers/tags_controller.rb@@ -120,6 +120,8 @@ class TagsController < ::ApplicationControllerenddef upload+ require 'csv'+guardian.ensure_can_admin_tags!file = params[:file] || params[:files].firstdiff --git a/lib/import_export/category_structure_exporter.rb b/lib/import_export/category_structure_exporter.rbindex e3b1773cdb4..aa9e50c983e 100644--- a/lib/import_export/category_structure_exporter.rb+++ b/lib/import_export/category_structure_exporter.rb@@ -3,7 +3,7 @@require "import_export/base_exporter"module ImportExport- class CategoryStructureExporter < ImportExport::BaseExporter+ class CategoryStructureExporter < BaseExporterdef initialize(include_group_users = false)@include_group_users = include_group_users