log some more things on countinual

This commit is contained in:
joshua stein 2012-08-12 10:49:53 -05:00
parent 49c6e64aac
commit f34ad51891
2 changed files with 4 additions and 0 deletions

View file

@ -39,6 +39,8 @@ class CommentsController < ApplicationController
:content_type => "text/html", :locals => { :story => story,
:comment => Comment.new, :show_comment => comment }
end
Countinual.count!("lobsters.comments.submitted", "+1")
else
comment.previewing = true
comment.upvotes = 1

View file

@ -20,6 +20,8 @@ class StoriesController < ApplicationController
Vote.vote_thusly_on_story_or_comment_for_user_because(1, @story.id,
nil, @user.id, nil)
Countinual.count!("lobsters.stories.submitted", "+1")
return redirect_to @story.comments_url
else