Allow unauthorized category to be filtered out
This commit is contained in:
parent
ee416dec58
commit
276d085a2c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue