Refacto edit method for content controller and enable custom user guide link

This commit is contained in:
Hugo Daniel
2018-09-12 14:51:53 +02:00
parent 5e0997d03e
commit cc43d789e2
14 changed files with 172 additions and 17 deletions

View 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