models: include all int/bool columns as html data attributes by default.
This commit is contained in:
@@ -117,7 +117,7 @@ class WikiPage < ApplicationRecord
|
||||
|
||||
module ApiMethods
|
||||
def html_data_attributes
|
||||
[:category_name]
|
||||
super + [:category_name]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user