Fix missing post HTML attributes

This commit is contained in:
BrokenEagle
2020-01-09 21:14:23 +00:00
parent 6acff3334e
commit 6127492361

View File

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