summaryrefslogtreecommitdiff
path: root/config/routes
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-12-13 19:52:41 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-12-16 12:21:09 +0100
commit99d8d6f0d48e28f5ba798d1d4461071a01435054 (patch)
treedd005ab5eb3340a3554534123c682461306d1df8 /config/routes
parent87d160634dfdaacd0dc382c26932786382d1be34 (diff)
downloadgitlab-ce-99d8d6f0d48e28f5ba798d1d4461071a01435054.tar.gz
Add MattermostController
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/project.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 6f480b9e1a0..4ce09b603a2 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -65,6 +65,12 @@ constraints(ProjectUrlConstrainer.new) do
end
end
+ resources :mattermost, only: [:new] do
+ member do
+ post :configure
+ end
+ end
+
resources :deploy_keys, constraints: { id: /\d+/ }, only: [:index, :new, :create] do
member do
put :enable