Fix immediate response on status_message create
This commit is contained in:
parent
5b29cff56a
commit
5041a84882
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue