#2141 hide index in api

This commit is contained in:
Toks
2014-05-23 16:33:55 -04:00
parent 3049f8b57c
commit 78387fa168

View File

@@ -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 = {})