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,11 @@
module PreferenceSections
class UserGuideSection
def name
I18n.t('admin.contents.edit.user_guide')
end
def preferences
[:user_guide_link]
end
end
end