1
0
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:
2015-12-31 17:34:51 +00:00
parent 669b026795
commit f3936b0906

View File

@@ -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