Added status to client post

This commit is contained in:
Saurabh Bhatia 2014-02-18 18:57:34 +08:00
parent f1de9c4b8a
commit f48adef361
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module Api
def create
@client = Client.create(client_params)
respond_with(@client, :success => true)
respond_with(@client,status: :created) rescue error(409)
end
private