Skip to content

Remove unused group label destroy HAML js

Jake Lear requested to merge jl-remove-unused-label-delete-view into master

What does this MR do?

closes #250845 (closed)

In the interest of removing inline js - this MR removes app/views/groups/labels/destroy.js.haml and cleans up the controller.

The label removal is tested in https://gitlab.com/gitlab-org/gitlab/blob/master/spec/features/projects/labels/user_removes_labels_spec.rb#L5

The pipeline passes and I couldn't find anywhere else this action might be hit with a javascript request, so I think this is completely unused.

Conformity

(https://docs.gitlab.com/ee/development/documentation/workflow.html#when-documentation-is-required))

Availability and Testing

Edited by Jake Lear

Merge request reports