diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-01-27 16:21:11 -0200 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-02-03 17:02:44 +0300 |
commit | 274987d5c0f7b04a9b7510c318c8df6dfab477df (patch) | |
tree | 965fd6bb67839793d6c7757a74d1290a6bc0f89d /config | |
parent | 7f58fc0e997a6784d978396747f39ce573dfe289 (diff) | |
download | gitlab-ce-274987d5c0f7b04a9b7510c318c8df6dfab477df.tar.gz |
Reuse endpoint to list issues for a list instead of create a new one
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 46d6530333d..7cd4a73b1a0 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -266,10 +266,8 @@ constraints(ProjectUrlConstrainer.new) do end resources :boards, only: [:index, :show] do - get :backlog, on: :member - scope module: :boards do - resources :issues, only: [:update] + resources :issues, only: [:index, :update] resources :lists, only: [:index, :create, :update, :destroy] do collection do |