Correctly handling multiple tournaments now, yay!

This commit is contained in:
Dan Buch
2012-03-12 23:28:38 -04:00
parent b14cdd3c9e
commit ec948315aa
6 changed files with 57 additions and 35 deletions

View File

@@ -1,2 +1,9 @@
module MashTournamentsHelper
def total_rounds_options_for_select
options = []
@mash_tournament.total_rounds_options.each do |n|
options << [n, n]
end
options
end
end