201 means created…

This commit is contained in:
MrZYX 2011-04-02 14:18:46 +02:00
parent 9829f11498
commit 3eeecebb67

View file

@ -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