diff options
Diffstat (limited to 'app/controllers/tournaments_controller.rb')
-rw-r--r-- | app/controllers/tournaments_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb index 0b81dd9..c58eb94 100644 --- a/app/controllers/tournaments_controller.rb +++ b/app/controllers/tournaments_controller.rb @@ -210,10 +210,6 @@ class TournamentsController < ApplicationController params.require(:tournament).require(:stages).require(i.to_s).permit(:scheduling_method, :seeding_method) end - def is_owner?(object) - object.hosts.include?(current_user) - end - # Turn of check_edit, since our #update is flexible def check_edit set_tournament |