mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Refacto edit method for content controller and enable custom user guide link
This commit is contained in:
15
app/models/preference_sections/header_section.rb
Normal file
15
app/models/preference_sections/header_section.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
module PreferenceSections
|
||||
class HeaderSection
|
||||
def name
|
||||
I18n.t('admin.contents.edit.header')
|
||||
end
|
||||
|
||||
def preferences
|
||||
[
|
||||
:logo,
|
||||
:logo_mobile,
|
||||
:logo_mobile_svg
|
||||
]
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user