Skip to content

Commit 2e5a0a1

Browse files
Updated agency_info to translate agency_types for now
1 parent b5606af commit 2e5a0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/partner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def agency_info
204204
state: profile.state,
205205
zip_code: profile.zip_code,
206206
website: profile.website,
207-
agency_type: (symbolic_agency_type == :other) ? "#{Partners::Profile.agency_types[:other]}: #{profile.other_agency_type}" : profile.agency_type
207+
agency_type: (symbolic_agency_type == :other) ? "#{I18n.t symbolic_agency_type, scope: :partners_profile}: #{profile.other_agency_type}" : (I18n.t symbolic_agency_type, scope: :partners_profile)
208208
}
209209
end
210210

0 commit comments

Comments
 (0)