201 means created…
This commit is contained in:
parent
9829f11498
commit
3eeecebb67
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class TagsController < ApplicationController
|
|||
|
||||
respond_to do |format|
|
||||
format.json{
|
||||
render(:json => @array.to_json, :status => 201)
|
||||
render(:json => @array.to_json, :status => 200)
|
||||
}
|
||||
end
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue