Commit 6ed82a98 by liyijie

response_status use 201 for update

parent 9d258c24
...@@ -72,7 +72,7 @@ class SimpleControllerGenerator < Rails::Generators::NamedBase ...@@ -72,7 +72,7 @@ class SimpleControllerGenerator < Rails::Generators::NamedBase
case action case action
when 'get' when 'get'
200 200
when 'post' when 'post', 'patch', 'put'
201 201
else else
204 204
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment