mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 01:28:08 +08:00
Merge pull request #522 from panckreous/dberman-typo
someone's been playing too much
This commit is contained in:
@ -73,7 +73,7 @@ class Post < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The key we use in reddit to ensure unique posts
|
# The key we use in redis to ensure unique posts
|
||||||
def unique_post_key
|
def unique_post_key
|
||||||
"post-#{user_id}:#{raw_hash}"
|
"post-#{user_id}:#{raw_hash}"
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user