Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/v1/teams/_team.json.jbuilder
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
json.extract! team, :id, :name, :abbrev
json.extract! team, :id, :name, :abbrev, :ranking
json.badge_url cl_image_path(team.badge.key) if team.badge.attached?
json.flag_url cl_image_path(team.flag.key) if team.flag.attached?
5 changes: 5 additions & 0 deletions db/migrate/20260604043212_add_fifa_ranking_to_teams.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddFifaRankingToTeams < ActiveRecord::Migration[6.1]
def change
add_column :teams, :ranking, :integer
end
end
3 changes: 2 additions & 1 deletion db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading