Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

some more section changes and migrations

  • Loading branch information...
commit 60f3d562fb58ae2a7e7b4521248987ed826131dd 1 parent 120a5e6
@daibach daibach authored
Showing with 4 additions and 17 deletions.
  1. +1 −1  app/models/sections.txt
  2. +3 −16 lib/tasks/sections.rake
View
2  app/models/sections.txt
@@ -52,7 +52,7 @@ Driving
Vehicle tax
Buying/selling a vehicle
MOT
- Owning a car/motorbike
+ Owning a car or motorbike
Driving and your neighbourhood
Driving and the law
Driving courses
View
19 lib/tasks/sections.rake
@@ -4,22 +4,9 @@ namespace :sections do
task :migrate => :environment do
@section_migrations = {
- 'Crime and justice:Mental capacity and the law' => 'Family:Mental capacity and the law',
- 'Education:Schools' => 'Education:In schools',
- 'Work:Finding work' => 'Work:Finding a job',
- 'Work:Time off from work' => 'Work:Time off',
- 'Family:Childcare' => 'Family:Children',
- 'Family:Separation and Divorce' => 'Family:Divorce and Separation',
- 'Money and tax:Sickness, disability and carers' => 'Money and tax:Disability and carers',
- 'Money and tax:Seasonal payments' => 'Money and tax:Winter payments',
- 'Housing:Council housing' => 'Housing:Council and Housing Association homes',
- 'Life in the UK:Becoming a British citizen' => 'Life in the UK:Rights and citizenship',
- 'Live in the UK:Rights and citizenship' => 'Life in the UK:Rights and citizenship',
- 'Travel:Animals and the UK' => 'Travel:Animals, food and plants',
- 'Travel:Travelling in the UK' => 'Travel:Domestic travel',
- 'Neighbourhoods:Community' => 'Neighbourhoods:Community and local services',
- 'Neighbourhoods:Library and learning' => 'Neighbourhoods:Libraries and learning',
- 'Neighbourhoods:Open spaces' => 'Neighbourhoods:Parks and open spaces'
+ 'Driving:Owning a car/motorbike' => 'Driving:Owning a car or motorbike',
+ 'Education:In schools' => 'Education:In school',
+ 'Family:Separation and divorce' => 'Family:Divorce and separation'
}
Artefact.all.each do |a|
Please sign in to comment.
Something went wrong with that request. Please try again.