Updating with jhass's code change. Still looking into Travis failure...
This commit is contained in:
parent
a9fd16db3e
commit
6d56a6fbac
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue