add everything to manage reputations
This commit is contained in:
12
app/helpers/wow_races_helper.rb
Normal file
12
app/helpers/wow_races_helper.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module WowRacesHelper
|
||||
def gender_race_name(gender, wow_race)
|
||||
case gender
|
||||
when 'FEMALE'
|
||||
wow_race.female_name
|
||||
when 'MALE'
|
||||
wow_race.male_name
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user