Skip to content

Commit

Permalink
Display current season on top of "All Seasons" list
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed May 9, 2024
1 parent 4d4f81d commit 0b792c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/seasons_controller.rb
Expand Up @@ -7,7 +7,7 @@ class SeasonsController < ApplicationController

# GET /seasons or /seasons.json
def index
@seasons = Season.all
@seasons = Season.all.reverse

respond_with @seasons do |format|
format.json { render :layout => false }
Expand Down

0 comments on commit 0b792c9

Please sign in to comment.