mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-22 11:06:10 +10:00
Remove redundant `require`s from Banzai files We're trying to avoid circular dependency errors. Related: https://gitlab.com/gitlab-org/gitlab-ce/issues/13521 Sentry: https://sentry.gitlap.com/gitlab/gitlabcom/issues/8/ See merge request !3391 Signed-off-by: Rémy Coutable <remy@rymai.me>
8 lines
117 B
Ruby
8 lines
117 B
Ruby
module Banzai
|
|
module Filter
|
|
def self.[](name)
|
|
const_get("#{name.to_s.camelize}Filter")
|
|
end
|
|
end
|
|
end
|