1268889a78
- Implement EloCalculator service for 2v2 Euchre matches - Create background job processing with GoodJob - Add single match entry form - Add CSV upload for batch match entry - Create player rankings view - Add database schema for matches and elo snapshots
19 lines
377 B
Ruby
19 lines
377 B
Ruby
# frozen_string_literal: true
|
|
|
|
module EuchreCamp
|
|
module Actions
|
|
module Admin
|
|
module Matches
|
|
class Index < EuchreCamp::Action
|
|
include Deps[repo: 'repositories.matches']
|
|
|
|
def handle(_request, response)
|
|
matches = repo.all
|
|
response.render(view, matches: matches)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|