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:
authorPhil Hughes <me@iamphill.com>2016-06-09 10:50:18 +0300
committerPhil Hughes <me@iamphill.com>2016-06-14 10:36:07 +0300
commit330e91368195e182cbfa9b41a1d5304f67d07334 (patch)
treede53a6907df8a965929f513ca5e54bcb7d97ffc0 /config
parent20d382a891d92197620eb4e72526577a916292d7 (diff)
Uses update URL to update the status of a todo
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 ef198a5e87a..93dd3c938d0 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -789,7 +789,7 @@ Rails.application.routes.draw do
end
end
- resources :todos, only: [:create], constraints: { id: /\d+/ }
+ resources :todos, only: [:create, :update], constraints: { id: /\d+/ }
resources :uploads, only: [:create] do
collection do