mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Update category name/slug in seeder
This commit is contained in:
parent
cee3e61f2d
commit
516e0a95db
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class Seeder
|
|||
'School Culture' => 'school-culture',
|
||||
'Resources' => 'resources',
|
||||
'Academic Learning' => 'academic-learning',
|
||||
'Citizenship & Wellbeing' => 'citizenship-and-wellbeing',
|
||||
'Community & Wellbeing' => 'community-and-wellbeing',
|
||||
}
|
||||
category.update! description: row['Category Description'].strip, slug: category_slugs[category_name], sort_index: category_slugs.keys.index(category_name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue