chore: save current Ruby implementation state before Next.js rewrite
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "csv"
|
||||
|
||||
module EuchreCamp
|
||||
module Actions
|
||||
module Admin
|
||||
module Matches
|
||||
class Upload < EuchreCamp::Action
|
||||
include Deps[events_repo: 'repositories.events']
|
||||
|
||||
def handle(request, response)
|
||||
response.render(view)
|
||||
tournaments = events_repo.all
|
||||
response.render(view, tournaments: tournaments)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user