Permalink
Browse files

API cleanup

  • Loading branch information...
1 parent 6afb87b commit 9c02d79f864ccfd0e980bd147f4914b173856bc4 @mattyoho mattyoho committed May 15, 2012
@@ -25,7 +25,7 @@ def create
respond_to do |format|
if @feed_item.save
- format.json { render status: :created, location: @feed_item }
+ format.json { render status: :created, location: api_feed_feed_item_url(feed, @feed_item) }
else
format.json { render status: :unprocessable_entity }
end

0 comments on commit 9c02d79

Please sign in to comment.