Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

Commit

Permalink
Remove old Section seeds to avoid overwriting them
Browse files Browse the repository at this point in the history
This has been deployed now.

There's a secret UI for editing these and they are subject to change,
so let's not trash those changes on every deploy.
  • Loading branch information
jamiecobbett committed Nov 12, 2012
1 parent b3220bf commit 5558516
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions db/seeds/tags.rb
Expand Up @@ -6,11 +6,3 @@


TagRepository.put(:tag_id => 'businesslink', :title => 'Business Link', :tag_type => 'legacy_source') TagRepository.put(:tag_id => 'businesslink', :title => 'Business Link', :tag_type => 'legacy_source')
TagRepository.put(:tag_id => 'directgov', :title => 'Directgov', :tag_type => 'legacy_source') TagRepository.put(:tag_id => 'directgov', :title => 'Directgov', :tag_type => 'legacy_source')

TagRepository.put(tag_type: "section", tag_id: "disabilities", title: "Disabled people", description: "Includes your rights, benefits, carers and the Equality Act")
parent = Tag.where(tag_id: "disabilities").first
TagRepository.put(tag_type: "section", parent_id: parent.tag_id, tag_id: "disabilities/benefits", title: "Benefits and financial help", description: "Includes Disability Living Allowance, Employment and Support Allowance and Attendance Allowance")
TagRepository.put(tag_type: "section", parent_id: parent.tag_id, tag_id: "disabilities/carers", title: "Carers", description: "Includes Carer's Allowance, disabled children and disability day care centres")
TagRepository.put(tag_type: "section", parent_id: parent.tag_id, tag_id: "disabilities/rights", title: "Disability rights", description: "Disability rights under the Equality Act 2010")
TagRepository.put(tag_type: "section", parent_id: parent.tag_id, tag_id: "disabilities/work", title: "Work and disabled people", description: "Includes recruitment and disabled people, reasonable adjustments at work and Access to Work")
TagRepository.put(tag_type: "section", parent_id: parent.tag_id, tag_id: "disabilities/equipment", title: "Disability equipment and transport", description: "Includes Disabled Students Allowances, Blue Badge and disabled access")

0 comments on commit 5558516

Please sign in to comment.