summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-02 15:31:25 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-11-02 15:31:25 +0100
commit30938b898c5415d8ec5cdf6c9851c45c1464c1a0 (patch)
tree39414abe26bb1eff4fea56cbff2a4eb356d03474 /config
parent64be8d70ae20928df351e495a3442bb6036bc3e7 (diff)
downloadgitlab-ce-30938b898c5415d8ec5cdf6c9851c45c1464c1a0.tar.gz
Fix and add applications controller
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index a6a7c5e7482..55dab840dca 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -191,8 +191,8 @@ constraints(ProjectUrlConstrainer.new) do
member do
get :status, format: :json
- scope '*application' do
- resource :applications, only: [:create]
+ scope :applications do
+ get '/*application', to: 'clusters/applications#create'
end
end
end