summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-15 11:31:30 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-15 11:31:30 +0300
commit38ed0deaac78f74cf983caf2f607956c1b2dcf83 (patch)
tree7847eaafc5e6b96d1ada35dd89b43699c2eba5fa
parent39ab7527d41c2351b82398947307f3d668f06944 (diff)
downloadgitlab-ce-38ed0deaac78f74cf983caf2f607956c1b2dcf83.tar.gz
Move hook models in separate dir
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/models/hooks/project_hook.rb (renamed from app/models/project_hook.rb)0
-rw-r--r--app/models/hooks/service_hook.rb (renamed from app/models/service_hook.rb)0
-rw-r--r--app/models/hooks/system_hook.rb (renamed from app/models/system_hook.rb)0
-rw-r--r--app/models/hooks/web_hook.rb (renamed from app/models/web_hook.rb)0
-rw-r--r--config/application.rb1
5 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project_hook.rb b/app/models/hooks/project_hook.rb
index 21867a9316c..21867a9316c 100644
--- a/app/models/project_hook.rb
+++ b/app/models/hooks/project_hook.rb
diff --git a/app/models/service_hook.rb b/app/models/hooks/service_hook.rb
index 2e11239c40b..2e11239c40b 100644
--- a/app/models/service_hook.rb
+++ b/app/models/hooks/service_hook.rb
diff --git a/app/models/system_hook.rb b/app/models/hooks/system_hook.rb
index ee32b49bc66..ee32b49bc66 100644
--- a/app/models/system_hook.rb
+++ b/app/models/hooks/system_hook.rb
diff --git a/app/models/web_hook.rb b/app/models/hooks/web_hook.rb
index 752eb8074ac..752eb8074ac 100644
--- a/app/models/web_hook.rb
+++ b/app/models/hooks/web_hook.rb
diff --git a/config/application.rb b/config/application.rb
index a4234e8a264..99dfafdb786 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -14,6 +14,7 @@ module Gitlab
# Custom directories with classes and modules you want to be autoloadable.
config.autoload_paths += %W(#{config.root}/lib
#{config.root}/app/finders
+ #{config.root}/app/models/hooks
#{config.root}/app/models/concerns
#{config.root}/app/models/project_services
#{config.root}/app/models/members)