app/controllers/championships_controller.rb
# CSI Regional Emilia Romagna championship ranking data display manager
#
CSI Regional Emilia Romagna championship ranking data display manager
CSI Regional Emilia Romagna championship ranking data display manager
def ranking_regional_er_csi
    @title = "#{ I18n.t('championships.team_ranking') } #{ @season.get_full_name }"
    championship_calculator = ChampionshipRankingCalculator.new( @season )
    @championship_ranking = championship_calculator.get_season_ranking
    @ranking_updated_at = if @season.meeting_individual_results.exists?
      @season.meeting_individual_results.select( "meeting_individual_results.updated_at" ).order(:updated_at).last.updated_at.to_i
    else
      0
    end
  end
def ranking_regional_er_csi @title = "#{ I18n.t('championships.team_ranking') } #{ @season.get_full_name }" championship_calculator = ChampionshipRankingCalculator . new ( @season ) @championship_ranking = championship_calculator . get_season_ranking @ranking_updated_at = if @season . meeting_individual_results . exists? @season . meeting_individual_results . select ( "meeting_individual_results.updated_at" ) . order ( :updated_at ) . last . updated_at . to_i else 0 end end
CSI Regional Emilia Romagna championship ranking data display manager
CSI Regional Emilia Romagna championship ranking data display manager