fixed template error on statusmessage controller
This commit is contained in:
parent
d6f95445c5
commit
bf66be9ea4
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class StatusMessagesController < ApplicationController
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.js{ render :json => { :post_id => @status_message.id,
|
format.js{ render :json => { :post_id => @status_message.id,
|
||||||
:html => render_to_string(:partial => 'shared/stream_element', :locals => {:post => @status_message, :current_user => current_user})},
|
:html => render_to_string(:partial => 'shared/stream_element', :locals => {:post => @status_message, :aspects => current_user.aspects, :current_user => current_user})},
|
||||||
:status => 201 }
|
:status => 201 }
|
||||||
format.html{ respond_with @status_message }
|
format.html{ respond_with @status_message }
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue