mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-07 23:17:25 +00:00
Showing next bout number and mat on school show page
This commit is contained in:
@@ -20,6 +20,14 @@ class Match < ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
|
||||
def mat_assigned
|
||||
if self.mat
|
||||
"Mat #{self.mat.name}"
|
||||
else
|
||||
""
|
||||
end
|
||||
end
|
||||
|
||||
def advance_wrestlers
|
||||
if self.w1? && self.w2?
|
||||
@w1 = wrestler1
|
||||
|
||||
Reference in New Issue
Block a user