|
|
|
@ -138,12 +138,12 @@ private |
|
|
|
def node_params |
|
|
|
params.require(:node).permit( |
|
|
|
:parent_id, |
|
|
|
:title_da, :title_en, :title_de, |
|
|
|
:page_title_da, :page_title_en, :page_title_de, |
|
|
|
:page_description_da, :page_description_en, :page_description_de, |
|
|
|
:slug_da, :slug_en, :slug_de, |
|
|
|
:title_en, :title_zh, :title_hr, :title_cs, :title_da, :title_nl, :title_fi, :title_fr, :title_de, :title_hu, :title_it, :title_ja, :title_ko, :title_nb, :title_pl, :title_pt, :title_ro, :title_sr, :title_sk, :title_sl, :title_es, :title_sv, :title_uk, |
|
|
|
:page_title_en, :page_title_zh, :page_title_hr, :page_title_cs, :page_title_da, :page_title_nl, :page_title_fi, :page_title_fr, :page_title_de, :page_title_hu, :page_title_it, :page_title_ja, :page_title_ko, :page_title_nb, :page_title_pl, :page_title_pt, :page_title_ro, :page_title_sr, :page_title_sk, :page_title_sl, :page_title_es, :page_title_sv, :page_title_uk, |
|
|
|
:page_description_en, :page_description_zh, :page_description_hr, :page_description_cs, :page_description_da, :page_description_nl, :page_description_fi, :page_description_fr, :page_description_de, :page_description_hu, :page_description_it, :page_description_ja, :page_description_ko, :page_description_nb, :page_description_pl, :page_description_pt, :page_description_ro, :page_description_sr, :page_description_sk, :page_description_sl, :page_description_es, :page_description_sv, :page_description_uk, |
|
|
|
:slug_en, :slug_zh, :slug_hr, :slug_cs, :slug_da, :slug_nl, :slug_fi, :slug_fr, :slug_de, :slug_hu, :slug_it, :slug_ja, :slug_ko, :slug_nb, :slug_pl, :slug_pt, :slug_ro, :slug_sr, :slug_sk, :slug_sl, :slug_es, :slug_sv, :slug_uk, |
|
|
|
:template, |
|
|
|
:href_da, :href_en, :href_de, |
|
|
|
:href_en, :href_zh, :href_hr, :href_cs, :href_da, :href_nl, :href_fi, :href_fr, :href_de, :href_hu, :href_it, :href_ja, :href_ko, :href_nb, :href_pl, :href_pt, :href_ro, :href_sr, :href_sk, :href_sl, :href_es, :href_sv, :href_uk, |
|
|
|
:status, |
|
|
|
:page_description, |
|
|
|
:parent_id, |
|
|
|
@ -153,7 +153,12 @@ private |
|
|
|
:is_allowlist, |
|
|
|
excluded_locales: [], |
|
|
|
settings: [], |
|
|
|
attachments_attributes: [:id, :asset_id, :body_da, :body_en, :body_de, :fg_color, :bg_color, :alignment, :template, :position, :_destroy] |
|
|
|
tags_en: [], tags_zh: [], tags_hr: [], tags_cs: [], tags_da: [], tags_nl: [], tags_fi: [], tags_fr: [], tags_de: [], tags_hu: [], tags_it: [], tags_ja: [], tags_ko: [], tags_nb: [], tags_pl: [], tags_pt: [], tags_ro: [], tags_sr: [], tags_sk: [], tags_sl: [], tags_es: [], tags_sv: [], tags_uk: [], |
|
|
|
attachments_attributes: [ |
|
|
|
:id, :asset_id, |
|
|
|
:body_en, :body_zh, :body_hr, :body_cs, :body_da, :body_nl, :body_fi, :body_fr, :body_de, :body_hu, :body_it, :body_ja, :body_ko, :body_nb, :body_pl, :body_pt, :body_ro, :body_sr, :body_sk, :body_sl, :body_es, :body_sv, :body_uk, |
|
|
|
:fg_color, :bg_color, :alignment, :template, :position, :_destroy |
|
|
|
] |
|
|
|
) |
|
|
|
end |
|
|
|
|
|
|
|
|