Files
openfoodnetwork/app/models/preference_sections/main_links_section.rb
Luis Ramos e52937c113 Use rubocop auto correct to add frozen string literal to all files
This is an unsafe auto corection, we will need to trust our build here
2021-06-17 23:07:26 +01:00

29 lines
512 B
Ruby

# frozen_string_literal: true
module PreferenceSections
class MainLinksSection
def name
I18n.t('admin.contents.edit.main_links')
end
def preferences
[
:menu_1,
:menu_1_icon_name,
:menu_2,
:menu_2_icon_name,
:menu_3,
:menu_3_icon_name,
:menu_4,
:menu_4_icon_name,
:menu_5,
:menu_5_icon_name,
:menu_6,
:menu_6_icon_name,
:menu_7,
:menu_7_icon_name
]
end
end
end