diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-02 15:31:25 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-02 15:31:25 +0100 |
commit | 30938b898c5415d8ec5cdf6c9851c45c1464c1a0 (patch) | |
tree | 39414abe26bb1eff4fea56cbff2a4eb356d03474 /app/workers | |
parent | 64be8d70ae20928df351e495a3442bb6036bc3e7 (diff) | |
download | gitlab-ce-30938b898c5415d8ec5cdf6c9851c45c1464c1a0.tar.gz |
Fix and add applications controller
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/concerns/cluster_app.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/concerns/cluster_app.rb b/app/workers/concerns/cluster_app.rb index a0202901f15..947cdaefcb7 100644 --- a/app/workers/concerns/cluster_app.rb +++ b/app/workers/concerns/cluster_app.rb @@ -3,7 +3,7 @@ module ClusterApp included do def find_app(app_name, id) - Clusters::Applications.const_get(app_name.classify).find(id).try do |app| + Clusters::Cluster::APPLICATIONS[app_name].find(id).try do |app| yield(app) if block_given? end end |