class TrackController < ApplicationController
  def index
    @upcoming_events = UpcomingEvents.find_all(:date => Date.new(2008, 6), :weeks => 6, :discipline => "Track")
  end
  
  def schedule
    @events = SingleDayEvent.find_all_by_year(Date.today.year, Discipline[:track]) + MultiDayEvent.find_all_by_year(Date.today.year, Discipline[:track])
  end
end
class TrackController < ApplicationController
  def index
    @upcoming_events = UpcomingEvents.find_all(:weeks => 52, :discipline => "Track")
  end
  
  def schedule
    @events = SingleDayEvent.find_all_by_year(Date.today.year, Discipline[:track]) + MultiDayEvent.find_all_by_year(Date.today.year, Discipline[:track])
  end
end
Remove hard-coded date from track upcoming events, and default to entire year in advance
Remove hard-coded date from track upcoming events, and default to entire year in advance
