Skip to content
Browse files

clean up on column names

  • Loading branch information...
1 parent d1f504f commit b3ad5d661c7003ac82b1d2faacce76211db2f3ec @semanticart semanticart committed Mar 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/players_helper.rb
View
2 app/helpers/players_helper.rb
@@ -49,7 +49,7 @@ def player_image player
end
def human_column(column)
- column.sub(/^p_/, '').humanize.upcase
+ column.sub(/^[pb]_/, '').humanize.upcase.sub(/WWAR /, 'WWAR/')
end
def player_total_stats player

0 comments on commit b3ad5d6

Please sign in to comment.
Something went wrong with that request. Please try again.