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
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-12 13:55:55 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-12 13:55:55 +0300
commit63144cd062f6d259f1f30b6e06eb92a16caa8dec (patch)
tree01d5b571d3b5cb056a48767064c9145fdf5ceee1 /config
parent8ab5df9d872414b2cca3ebd16d57b89e2f19e06a (diff)
parent1974087114f3f365d16547c8a5c3ec2e03a66104 (diff)
Merge pull request #9820 from huacnlee/avoid-render-form-in-notes-list
Avoid render edit_form in each notes.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f4d4d30f613..56a31d980f9 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -658,7 +658,7 @@ Gitlab::Application.routes.draw do
end
end
- resources :notes, only: [:index, :create, :destroy, :update], constraints: { id: /\d+/ } do
+ resources :notes, constraints: { id: /\d+/ } do
member do
delete :delete_attachment
end