config/initializers/iqvoc.rb in iqvoc_inflectionals-2.1.0 vs config/initializers/iqvoc.rb in iqvoc_inflectionals-2.5.0

- old
+ new

@@ -1,11 +1,14 @@ # initializer for both iqvoc and iqvoc_skosxl -require 'iqvoc/xllabel' # XXX: this basically duplicates iqvoc_skosxl's initializer - but is required to ensure correct loading order!? +# This basically duplicates iqvoc_skosxl's initializer — +# but is required to ensure correct loading order!? +require 'iqvoc/xllabel' Iqvoc.config.register_setting("title", "iQvoc Inflectionals") -#Iqvoc.searchable_class_names << "Inflectional::Base" # XXX: application's responsibility!? +# Application's responsibility! +# Iqvoc.searchable_class_names << "Inflectional::Base" Iqvoc::XLLabel.additional_association_class_names. merge!("Inflectional::Base" => "label_id") Iqvoc::XLLabel.view_sections += ["inflectionals"]