Updating with jhass's code change. Still looking into Travis failure...

This commit is contained in:
khall 2014-08-24 16:01:59 -07:00
parent a9fd16db3e
commit 6d56a6fbac

View file

@ -95,7 +95,7 @@ class StatusMessagesController < ApplicationController
respond_to do |format| respond_to do |format|
format.html { redirect_to :back } format.html { redirect_to :back }
format.mobile { redirect_to stream_path } 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 end
end end