mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-12 16:25:41 +00:00
Updated seeds redirects to tournament now
This commit is contained in:
@@ -8,10 +8,10 @@ class WeightsController < ApplicationController
|
|||||||
def show
|
def show
|
||||||
if params[:wrestler]
|
if params[:wrestler]
|
||||||
Wrestler.update(params[:wrestler].keys, params[:wrestler].values)
|
Wrestler.update(params[:wrestler].keys, params[:wrestler].values)
|
||||||
|
redirect_to @weight.tournament
|
||||||
end
|
end
|
||||||
@wrestlers = @weight.wrestlers
|
@wrestlers = @weight.wrestlers
|
||||||
@tournament = @weight.tournament
|
@tournament = @weight.tournament
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# GET /weights/new
|
# GET /weights/new
|
||||||
|
|||||||
Reference in New Issue
Block a user