From 78387fa16868192330b6e88bf9b35cc65f012f73 Mon Sep 17 00:00:00 2001 From: Toks Date: Fri, 23 May 2014 16:33:55 -0400 Subject: [PATCH] #2141 hide index in api --- app/models/wiki_page.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index 8a60ded8a..35d853f65 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -75,7 +75,7 @@ class WikiPage < ActiveRecord::Base module ApiMethods def hidden_attributes - super + [:body_index] + super + [:body_index, :other_names_index] end def serializable_hash(options = {})