Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
247 B
Ruby
13 lines
247 B
Ruby
module Admin
|
|
class TeamsController < Admin::BaseController
|
|
def index
|
|
@teams = Team.all.order(:name)
|
|
end
|
|
|
|
def show
|
|
@team = Team.find(params[:id])
|
|
@matches = @team.matches.order(scheduled_at: :desc)
|
|
end
|
|
end
|
|
end
|