Don't create 500s on comment posting

This commit is contained in:
Raphael 2010-09-13 11:30:10 -07:00
parent 200b0045f7
commit e33d6d8123

View file

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