Convert classes to use data attributes

- Remote resolved classes on post flags since they were unused
This commit is contained in:
BrokenEagle
2020-01-04 03:40:50 +00:00
parent 223a6df5d8
commit 4b904dff5a
8 changed files with 11 additions and 23 deletions

View File

@@ -148,7 +148,7 @@ class Dmail < ApplicationRecord
module ApiMethods
def html_data_attributes
[:owner_id, :from_id, :to_id]
[:owner_id, :from_id, :to_id, :is_read?]
end
end

View File

@@ -42,7 +42,7 @@ class UserFeedback < ApplicationRecord
module ApiMethods
def html_data_attributes
[:user_id, :creator_id]
[:user_id, :creator_id, :category]
end
end