Merge pull request #4253 from BrokenEagle/missing-post-attributes

Fix missing post HTML attributes
This commit is contained in:
evazion
2020-01-10 20:24:51 -06:00
committed by GitHub

View File

@@ -1482,10 +1482,6 @@ class Post < ApplicationRecord
hash
end
def html_data_attributes
[:uploader_id, :approver_id]
end
def status
if is_pending?
"pending"