10 lines
192 B
Ruby
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
|