Skip to content

Commit

Permalink
Sort home page by most recently updated on top
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpk committed Jun 6, 2012
1 parent bf054f1 commit 2e07d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Expand Up @@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base

def index
authenticate
@candidates = Candidate.all
@candidates = Candidate.find(:all, :order => "updated_at DESC")
@question = Question.new
@votes = {}
if @current_user
Expand Down

0 comments on commit 2e07d9d

Please sign in to comment.