From d409d12963ae433979c54a8ba54f3a1dd4455e52 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 17 Jan 2022 18:16:07 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/controllers/concerns/work_items_hierarchy.rb | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 app/controllers/concerns/work_items_hierarchy.rb (limited to 'app/controllers/concerns') diff --git a/app/controllers/concerns/work_items_hierarchy.rb b/app/controllers/concerns/work_items_hierarchy.rb deleted file mode 100644 index 6008256408c..00000000000 --- a/app/controllers/concerns/work_items_hierarchy.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module WorkItemsHierarchy - extend ActiveSupport::Concern - - # rubocop:disable Gitlab/ModuleWithInstanceVariables - def planning_hierarchy - return render_404 unless Feature.enabled?(:work_items_hierarchy, @project, default_enabled: :yaml) - - render 'shared/planning_hierarchy' - end - # rubocop:enable Gitlab/ModuleWithInstanceVariables -end - -WorkItemsHierarchy.prepend_mod_with('WorkItemsHierarchy') -- cgit v1.2.3