Move EE prepend/include to the end of controllers
What does this MR do?
This moves all instances of prepend EE::Something
and include EE::Something
in controllers and controller concerns to the last line
of the corresponding file. This pushes EE specific code further down the
files, reducing the likelihood of developers running into merge
conflicts.
Approach
This was done using the following Ruby script: https://gitlab.com/gitlab-org/release/framework/snippets/1773219
What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ee/issues/8241
Does this MR meet the acceptance criteria?
-
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
EE specific content should be in the top level /ee
folder