Create new basic tab for admin information texts

This commit is contained in:
decabeza
2019-05-14 15:51:32 +02:00
committed by Javi Martín
parent 1135441cbd
commit a2cb7501f7
8 changed files with 102 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ class Admin::SiteCustomization::InformationTextsController < Admin::SiteCustomiz
before_action :delete_translations, only: [:update]
def index
@tab = params[:tab] || :debates
@tab = params[:tab] || :basic
@content = I18nContent.content_for(@tab)
end