#2141 hide index in api
This commit is contained in:
@@ -75,7 +75,7 @@ class WikiPage < ActiveRecord::Base
|
|||||||
|
|
||||||
module ApiMethods
|
module ApiMethods
|
||||||
def hidden_attributes
|
def hidden_attributes
|
||||||
super + [:body_index]
|
super + [:body_index, :other_names_index]
|
||||||
end
|
end
|
||||||
|
|
||||||
def serializable_hash(options = {})
|
def serializable_hash(options = {})
|
||||||
|
|||||||
Reference in New Issue
Block a user