From f3936b0906e0d137cd215f8162fdfccfc0361fb8 Mon Sep 17 00:00:00 2001 From: jcwimer Date: Thu, 31 Dec 2015 17:34:51 +0000 Subject: [PATCH] Updated seeds redirects to tournament now --- app/controllers/weights_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/weights_controller.rb b/app/controllers/weights_controller.rb index d54924c..b0a5dfc 100644 --- a/app/controllers/weights_controller.rb +++ b/app/controllers/weights_controller.rb @@ -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