class StaticController < ApplicationController

  skip_filter :authenticate_user!, :require_admin, :require_supervisor, :only => [:index, :aboutus, :team, :createchallenge, :challengeguidelines, :universities, :companies, :press, :privacy, :termsofservice]

  def index
      @highlighted_challenges = Challenge.approved.past_last.limit(3).decorate
      render :index
  end

  def aboutus
  	render :aboutus
  end

  def team
  	render :team
  end

  def createchallenge
  	render :createchallenge
  end

  def challengeguidelines
  	render :challengeguidelines
  end

  def universities
  	render :universities
  end

  def companies
  	render :companies
  end


  def termsofservice
  	render :termsofservice
  end

  def privacy
  	render :privacy
  end

  def press
    render :press
  end
end

class StaticController < ApplicationController

  skip_filter :authenticate_user!, :require_admin, :require_supervisor, :only => [:index, :aboutus, :team, :createchallenge, :challengeguidelines, :universities, :companies, :press, :privacy, :termsofservice]

  def index
      @highlighted_challenges = Challenge.approved.upcoming_and_running.sorted_start_date.limit(3).decorate
      render :index
  end

  def aboutus
  	render :aboutus
  end

  def team
  	render :team
  end

  def createchallenge
  	render :createchallenge
  end

  def challengeguidelines
  	render :challengeguidelines
  end

  def universities
  	render :universities
  end

  def companies
  	render :companies
  end


  def termsofservice
  	render :termsofservice
  end

  def privacy
  	render :privacy
  end

  def press
    render :press
  end
end

--- 
+++ 
@@ -3,7 +3,7 @@
   skip_filter :authenticate_user!, :require_admin, :require_supervisor, :only => [:index, :aboutus, :team, :createchallenge, :challengeguidelines, :universities, :companies, :press, :privacy, :termsofservice]
 
   def index
-      @highlighted_challenges = Challenge.approved.upcoming_and_running.sorted_start_date.limit(3).decorate
+      @highlighted_challenges = Challenge.approved.past_last.limit(3).decorate
       render :index
   end
 
Use the past_last for frontpage

Awesomeness on more pages...