1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added shell views and routes to swap wrestlers bracket positions

Still need to set permssions on swap controller method
This commit is contained in:
2016-01-25 12:53:32 +00:00
parent 0275b48499
commit 75efa73777
4 changed files with 27 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ class Wrestler < ActiveRecord::Base
has_one :tournament, through: :weight
has_many :matches, through: :weight
has_many :deductedPoints, class_name: "Teampointadjust"
attr_accessor :poolNumber, :poolAdvancePoints
attr_accessor :poolNumber, :poolAdvancePoints, :swapId
validates :name, :weight_id, :school_id, presence: true