diff --git a/app/controllers/status_messages_controller.rb b/app/controllers/status_messages_controller.rb index 75beea674a44c7c2a68942584f67aacbbe1e10ab..b594c4542236c64087ecf7f5ef44ee1eb36f07fa 100644 --- a/app/controllers/status_messages_controller.rb +++ b/app/controllers/status_messages_controller.rb @@ -95,7 +95,7 @@ class StatusMessagesController < ApplicationController respond_to do |format| format.html { redirect_to :back } format.mobile { redirect_to stream_path } - format.json { render :text => @status_message.errors.messages[:text].join('. '), :status => 403 } + format.json { render :text => @status_message.errors.messages[:text].to_sentence, :status => 403 } end end end