Files
MatchLiveTv/backend/app/controllers/admin/teams_controller.rb
Emiliano Frascaro 9b40deeb61 Unifica admin società/squadre e YouTube Full con fallback MLTV.
Premium Full senza canale società usa il canale piattaforma come Light;
in app restano solo Match Live TV e YouTube Live.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 22:38:28 +02:00

13 lines
273 B
Ruby

module Admin
class TeamsController < Admin::BaseController
def index
redirect_to admin_clubs_path, status: :moved_permanently
end
def show
@team = Team.find(params[:id])
@matches = @team.matches.order(scheduled_at: :desc)
end
end
end