fixed template error on statusmessage controller

This commit is contained in:
danielvincent 2010-11-26 13:29:49 -05:00
parent d6f95445c5
commit bf66be9ea4

View file

@ -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