Don't create 500s on comment posting
This commit is contained in:
parent
200b0045f7
commit
e33d6d8123
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ class CommentsController < ApplicationController
|
|||
text = params[:comment][:text]
|
||||
|
||||
@comment = current_user.comment text, :on => target
|
||||
respond_with @comment
|
||||
render :nothing => true
|
||||
end
|
||||
|
||||
def show
|
||||
|
|
|
|||
Loading…
Reference in a new issue