box-o-sand/oldstuff/map-mash/app/helpers/mash_tournaments_helper.rb

10 lines
192 B
Ruby

module MashTournamentsHelper
def total_rounds_options_for_select
options = []
@mash_tournament.total_rounds_options.each do |n|
options << [n, n]
end
options
end
end