mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-02 21:24:25 +00:00
Update seeds on one page.
This commit is contained in:
@@ -10,8 +10,12 @@ class WeightsController < ApplicationController
|
||||
# GET /weights/1
|
||||
# GET /weights/1.json
|
||||
def show
|
||||
if params[:wrestler]
|
||||
Wrestler.update(params[:wrestler].keys, params[:wrestler].values)
|
||||
end
|
||||
@wrestlers = Wrestler.all
|
||||
@tournament = Tournament.find(@weight.tournament_id)
|
||||
|
||||
end
|
||||
|
||||
# GET /weights/new
|
||||
|
||||
Reference in New Issue
Block a user