mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #377 from kubabrecka/typos5
various typos in comments
This commit is contained in:
@@ -443,7 +443,7 @@ class Post < ActiveRecord::Base
|
||||
self.quote_count = quoted_post_numbers.size
|
||||
end
|
||||
|
||||
# Process this post after comitting it
|
||||
# Process this post after committing it
|
||||
def trigger_post_process
|
||||
args = { post_id: id }
|
||||
args[:image_sizes] = image_sizes if image_sizes.present?
|
||||
|
||||
@@ -348,7 +348,7 @@ class User < ActiveRecord::Base
|
||||
end
|
||||
|
||||
# The following count methods are somewhat slow - definitely don't use them in a loop.
|
||||
# They might need to be denormialzied
|
||||
# They might need to be denormalized
|
||||
def like_count
|
||||
UserAction.where(user_id: id, action_type: UserAction::WAS_LIKED).count
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user