Skip to content

Commit

Permalink
more rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dtgreiner committed Jun 24, 2024
1 parent a82f1c5 commit 9d8cd98
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions db/migrate/20240621125508_match_route_eleven_translations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@ def up
text: v,
)
end
end
end

def down
Translation.where(key: translations_eleven.keys).destroy_all
end

private
def translations_eleven = {
'Match Route Eleven' => 'Match Route Eleven',
'SSP Eleven' => 'SSP',
'Shelter Agency Eleven' => 'Shelter Agency',
'HSA Eleven' => 'HSA',
'Housing Search Provider Eleven' => 'Housing Search Provider',
'Housing Subsidy Administrator Eleven' => 'Housing Subsidy Administrator',
'Stabilization Service Provider Eleven' => 'Stabilization Services Provider',
'Stabilization Services Provider Eleven' => 'Stabilization Services Provider',
'CoC Eleven' => 'DND',
}
end

def translations_eleven = {
'Match Route Eleven' => 'Match Route Eleven',
'SSP Eleven' => 'SSP',
'Shelter Agency Eleven' => 'Shelter Agency',
'HSA Eleven' => 'HSA',
'Housing Search Provider Eleven' => 'Housing Search Provider',
'Housing Subsidy Administrator Eleven' => 'Housing Subsidy Administrator',
'Stabilization Service Provider Eleven' => 'Stabilization Services Provider',
'Stabilization Services Provider Eleven' => 'Stabilization Services Provider',
'CoC Eleven' => 'DND',
}
end

0 comments on commit 9d8cd98

Please sign in to comment.