Initial commit: monorepo Match Live TV.
Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
8
backend/app/controllers/admin/dashboard_controller.rb
Normal file
8
backend/app/controllers/admin/dashboard_controller.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
module Admin
|
||||
class DashboardController < Admin::BaseController
|
||||
def index
|
||||
@teams = Team.includes(:matches).order(:name)
|
||||
@active_sessions = StreamSession.where(status: %w[live reconnecting connecting]).includes(:match)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user