1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-03 21:33:48 +00:00

Cleaning up main tournament page and tournament controller

This commit is contained in:
2015-06-30 13:43:09 +00:00
parent 3f3cc7014b
commit 0fddccf6f5
2 changed files with 36 additions and 45 deletions

View File

@@ -61,14 +61,6 @@ class TournamentsController < ApplicationController
end
end
def createHsWeights
if params[:tournament]
if user_signed_in?
@tournament.createHsWeights
end
redirect_to "/tournaments/#{@tournament.id}"
end
end
# DELETE /tournaments/1
# DELETE /tournaments/1.json
def destroy