move SiteText.{head,top,bottom} to SiteCustomization

This commit is contained in:
Régis Hanol
2015-01-14 11:52:42 +01:00
parent df5d81d7b4
commit 6734a51b6a
14 changed files with 132 additions and 59 deletions

View File

@ -52,8 +52,9 @@ class Admin::SiteCustomizationsController < Admin::AdminController
def site_customization_params
params.require(:site_customization)
.permit(:name, :stylesheet, :header, :footer,
:mobile_stylesheet, :mobile_header, :mobile_footer,
.permit(:name, :stylesheet, :header, :top, :footer,
:mobile_stylesheet, :mobile_header, :mobile_top, :mobile_footer,
:head_tag, :body_tag,
:position, :enabled, :key,
:stylesheet_baked)
end