19 lines
402 B
Ruby
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
|