Allow unauthorized category to be filtered out

This commit is contained in:
Bernie Chiu 2013-08-28 11:41:50 +08:00 committed by chris
parent ee416dec58
commit 276d085a2c
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Panel::Dictionary::BackEnd::DictionaryVocabsController < OrbitBackendContr
def new
@vocab = DictionaryVocab.new
@categories = get_categories_for_index("DictionaryVocabCategory")
@categories = get_categories_for_index("DictionaryVocabCategory").where(disable: false)
respond_to do |format|
format.html # new.html.erb