Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-02 17:31:25 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2017-11-02 17:31:25 +0300
commit30938b898c5415d8ec5cdf6c9851c45c1464c1a0 (patch)
tree39414abe26bb1eff4fea56cbff2a4eb356d03474 /config/routes
parent64be8d70ae20928df351e495a3442bb6036bc3e7 (diff)
Fix and add applications controller
Diffstat (limited to 'config/routes')
-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