DRY
Merge pull request #56 from seuros/dry

DRY in helper.rb