summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-19 23:53:19 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-19 23:56:21 +0100
commit34295036e2a9ecf18ca5440a5dd6dbb0c7f05643 (patch)
treea529cbc332882305520c7650cbe860301e12abb8 /config
parent921f411a41d92ff6b3fdea2560adbd861d97be57 (diff)
downloadgitlab-ce-34295036e2a9ecf18ca5440a5dd6dbb0c7f05643.tar.gz
Improve sources
- Add proper error handling, - Use flash[:alert] and flash[:notice], - Use `resource` instead of `resources`,
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index b42c5e5211c..1d0caac3080 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -76,7 +76,7 @@ constraints(ProjectUrlConstrainer.new) do
end
end
- resources :mattermost, only: [:new, :create]
+ resource :mattermost, only: [:new, :create]
resources :deploy_keys, constraints: { id: /\d+/ }, only: [:index, :new, :create] do
member do