Files
euchre_camp/app/actions/admin/matches/upload.rb
T

19 lines
402 B
Ruby

# frozen_string_literal: true
module EuchreCamp
module Actions
module Admin
module Matches
class Upload < EuchreCamp::Action
include Deps[events_repo: 'repositories.events']
def handle(request, response)
tournaments = events_repo.all
response.render(view, tournaments: tournaments)
end
end
end
end
end
end