re-namespacing a touch
This commit is contained in:
3
app/helpers/application_helper.rb
Normal file
3
app/helpers/application_helper.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
# Methods added to this helper will be available to all templates in the application.
|
||||
module ApplicationHelper
|
||||
end
|
2
app/helpers/maps_helper.rb
Normal file
2
app/helpers/maps_helper.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
module MapsHelper
|
||||
end
|
9
app/helpers/mash_tournaments_helper.rb
Normal file
9
app/helpers/mash_tournaments_helper.rb
Normal file
@@ -0,0 +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
|
2
app/helpers/mashes_helper.rb
Normal file
2
app/helpers/mashes_helper.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
module MashesHelper
|
||||
end
|
Reference in New Issue
Block a user