fix ref to story
This commit is contained in:
parent
2c216baa04
commit
17d536973c
|
@ -57,7 +57,7 @@ class StoriesController < ApplicationController
|
|||
|
||||
if @story.merged_into_story
|
||||
@story.merge_story_short_id = @story.merged_into_story.short_id
|
||||
User.update_counters self.user_id, karma: (self.votes.count * -2)
|
||||
User.update_counters @story.user_id, karma: (@story.votes.count * -2)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue