diff options
Diffstat (limited to 'db')
| -rw-r--r-- | db/seeds/chapters.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/seeds/chapters.rb b/db/seeds/chapters.rb index cb48894..8584acd 100644 --- a/db/seeds/chapters.rb +++ b/db/seeds/chapters.rb | |||
| @@ -34,6 +34,7 @@ def seed_chapter(parent_id:, slug:, tag:, title_de:, description_de:, | |||
| 34 | 34 | ||
| 35 | # Set up draft with German translation | 35 | # Set up draft with German translation |
| 36 | draft = node.draft | 36 | draft = node.draft |
| 37 | draft.template_name = 'chapter_detail' | ||
| 37 | I18n.with_locale(:de) do | 38 | I18n.with_locale(:de) do |
| 38 | draft.title = title_de | 39 | draft.title = title_de |
| 39 | draft.abstract = location || "" | 40 | draft.abstract = location || "" |
