Commit 6ed82a98 by liyijie

response_status use 201 for update

parent 9d258c24
......@@ -72,7 +72,7 @@ class SimpleControllerGenerator < Rails::Generators::NamedBase
case action
when 'get'
200
when 'post'
when 'post', 'patch', 'put'
201
else
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