remove more resume streets

This commit is contained in:
Torsten Ruger 2017-06-10 13:14:02 +03:00
parent 5405af0fdb
commit fabda38237
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ module ResumesHelper
def percent
fields = [:school, :uni, :internship, :work, :projects, :tech_skills, :soft_skills,
:interests, :motivation, :finance, :other, :street, :city, :country]
total = fields.length
:interests, :motivation, :finance, :other]
total = fields.length
filled = fields.collect{|f| @resume.send(f).blank? ? 0 : 1 }.sum * 100
"#{filled/total}%"
end