summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthea <ta.kupler@gmail.com>2016-07-12 16:32:24 +0200
committerthea <ta.kupler@gmail.com>2016-07-12 16:32:24 +0200
commitc904acbc17c4198bfb1e67b7c6b04004e7a24b3d (patch)
tree889aea97921d0fd49ba2dff2384fb366fbec1b0f
parent077987748387a158689d471dccddcb7dda781bd4 (diff)
bugfix #226:patch instead of put
-rw-r--r--engines/support/config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/support/config/routes.rb b/engines/support/config/routes.rb
index 81bdf9a..5647477 100644
--- a/engines/support/config/routes.rb
+++ b/engines/support/config/routes.rb
@@ -3,8 +3,8 @@ Rails.application.routes.draw do
resources :tickets, except: :edit do
member do
- put 'open'
- put 'close'
+ patch 'open'
+ patch 'close'
end
end