app/controllers/knitkit/comments_controller.rb in knitkit-2.1.2 vs app/controllers/knitkit/comments_controller.rb in knitkit-2.1.3

- old
+ new

@@ -5,10 +5,10 @@ content = Content.find(params[:content_id]) comment = params[:comment] @comment = content.add_comment({:commentor_name => user.party.description, :email => user.email, :comment => comment}) - render :text => (@comment.valid? ? '<div class="sexysuccess">Comment pending approval.</span>' : '<div class="sexyerror">Error. Comment cannot be blank.</span>') + render :text => (@comment.valid? ? '<div class="sexynotice">Comment pending approval.</div>' : '<div class="sexynotice">Error. Comment cannot be blank.</div>') end #no section to set def set_section return false