Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if @comment.is_spam?
- flash[:notice] = "We've flagged your comment for review. " +
- "<a href='#{comment_feedback_url(@comment)}'>Think this is a mistake?</a>"
- redirect_to @subject
- else
- redirect_to @subject, :anchor => 'comments'
- end
Add Comment
Please, Sign In to add comment