Skip to content

Move controller EE prepends to the last line

Yorick Peterse requested to merge move-whitelisted-controller-prepends into master

What does this MR do?

This moves various remaining prepend/include/extend calls that inject EE modules into controllers to the last line of these controllers. These were not handled before as RuboCop did not detect these calls properly.

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/8598

Does this MR meet the acceptance criteria?

Edited by Yorick Peterse

Merge request reports