summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-12-19 14:14:09 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-12-19 21:44:15 +0100
commitd21535602b30316646772b1cd74d7069254076df (patch)
treed5e7533b44d646e8aaee153ce7b0f51e9467faa7 /config
parent4213bd56dea1d6cdbfa8baed8faa7e3ab86e61ab (diff)
downloadgitlab-ce-d21535602b30316646772b1cd74d7069254076df.tar.gz
Minor adjustments API Mattermost
[ci skip]
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 23d85368f1b..b42c5e5211c 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -76,11 +76,7 @@ constraints(ProjectUrlConstrainer.new) do
end
end
- resources :mattermost, only: [:new] do
- collection do
- post :configure
- end
- end
+ resources :mattermost, only: [:new, :create]
resources :deploy_keys, constraints: { id: /\d+/ }, only: [:index, :new, :create] do
member do