hide index fields from api; closes #1739
This commit is contained in:
@@ -161,4 +161,8 @@ class ForumPost < ActiveRecord::Base
|
||||
x.body = x.quoted_response
|
||||
end
|
||||
end
|
||||
|
||||
def hidden_attributes
|
||||
super + [:text_index]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user