Fix immediate response on status_message create

This commit is contained in:
Raphael 2010-11-28 00:23:53 -05:00
parent 5b29cff56a
commit 5041a84882

View file

@ -38,8 +38,13 @@ class StatusMessagesController < ApplicationController
:partial => 'shared/stream_element',
:locals => {
:post => @status_message,
:person => @status_message.person,
:comments => [],
:aspects => current_user.aspects,
:current_user => current_user})},
:current_user => current_user
}
)
},
:status => 201 }
format.html{ respond_with @status_message }
end