Commit 37d7f8b9 authored by Yorick Peterse's avatar Yorick Peterse

Inject EE specific modules using EE::Project

This ensures that Project only includes a single prepend for
EE::Project, which in turn takes care of the rest.
parent 48c62d42
......@@ -8,6 +8,9 @@ module EE
prepended do
include IgnorableColumn
include Elastic::ProjectsSearch
prepend GeoAwareAvatar
prepend ImportStatusStateMachine
ignore_column :sync_time
......
......@@ -19,10 +19,7 @@ class Project < ActiveRecord::Base
include Routable
# EE specific modules
include Elastic::ProjectsSearch
prepend EE::GeoAwareAvatar
prepend EE::Project
prepend EE::Project::ImportStatusStateMachine
extend Gitlab::ConfigHelper
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment