mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 21:25:24 +08:00
Merge pull request #377 from kubabrecka/typos5
various typos in comments
This commit is contained in:
@ -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