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