lib/iqvoc/configuration/core.rb in iqvoc-4.11.1 vs lib/iqvoc/configuration/core.rb in iqvoc-4.12.0
- old
+ new
@@ -65,24 +65,10 @@
}, {
text: proc { t('txt.views.navigation.search') },
href: proc { search_path },
controller: 'search_results'
}, {
- text: proc { t('txt.views.navigation.administration') },
- :authorized? => proc { can? :use, :administration },
- items: [{
- text: proc { t('txt.views.navigation.users') },
- href: proc { users_path },
- controller: 'users',
- :authorized? => proc { can? :manage, User }
- }, {
- text: proc { t('txt.views.navigation.instance_configuration') },
- href: proc { instance_configuration_path },
- controller: 'instance_configuration',
- :authorized? => proc { can? :manage, Iqvoc.config }
- }]
- }, {
text: proc { t('txt.views.navigation.help') },
items: [{
text: proc { t('txt.views.navigation.help') },
href: proc { help_path },
controller: 'pages',
@@ -125,15 +111,16 @@
self.first_level_class_configuration_modules = [] # Will be set in the modules
self.ability_class_name = 'Ability'
self.search_sections = [
- 'klass',
- 'mode',
'terms',
+ 'mode',
+ 'klass',
'type',
'collection',
'languages',
+ 'change_note',
'datasets'
]
# ignored database tables during thesaurus truncation
self.truncation_blacklist = [