Merge pull request #4253 from BrokenEagle/missing-post-attributes
Fix missing post HTML attributes
This commit is contained in:
@@ -1482,10 +1482,6 @@ class Post < ApplicationRecord
|
|||||||
hash
|
hash
|
||||||
end
|
end
|
||||||
|
|
||||||
def html_data_attributes
|
|
||||||
[:uploader_id, :approver_id]
|
|
||||||
end
|
|
||||||
|
|
||||||
def status
|
def status
|
||||||
if is_pending?
|
if is_pending?
|
||||||
"pending"
|
"pending"
|
||||||
|
|||||||
Reference in New Issue
Block a user