1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Removed delayed job and generate matches

This commit is contained in:
2015-03-16 09:13:12 -04:00
parent 2843760779
commit 6452aee07a
7 changed files with 33 additions and 81 deletions

View File

@@ -58,26 +58,4 @@ class StaticPagesController < ApplicationController
end
end
def generate_matches
if user_signed_in?
else
redirect_to root_path
end
if params[:tournament]
@tournament = Tournament.find(params[:tournament])
end
if @tournament
@tournament.generateMatches
end
end
end