diff options
author | Simon Knox <simon@gitlab.com> | 2018-03-13 12:01:36 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-03-13 12:01:36 +0000 |
commit | 8fa001e7604c14a73442e809aa8ec437d39282f1 (patch) | |
tree | 2e2c8020eeac066a87c0ccf3540b4a81ee1b1731 /config | |
parent | 9a1af4a39c79067574c6e96a61d25e5463f10b56 (diff) | |
download | gitlab-ce-8fa001e7604c14a73442e809aa8ec437d39282f1.tar.gz |
Resolve "Projects::MergeRequestsController#show is slow (implement skeleton loading)"
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index b82ed27664c..c803737d40b 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -130,7 +130,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do post :bulk_update end - resources :discussions, only: [], constraints: { id: /\h{40}/ } do + resources :discussions, only: [:show], constraints: { id: /\h{40}/ } do member do post :resolve delete :resolve, action: :unresolve |