projects
/
selectricity
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d66a994
)
fixed recent quickvotes for real
author
<mako@atdot.cc>
<>
Wed, 5 Sep 2007 16:04:58 +0000
(12:04 -0400)
committer
<mako@atdot.cc>
<>
Wed, 5 Sep 2007 16:04:58 +0000
(12:04 -0400)
app/controllers/front_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/front_controller.rb
b/app/controllers/front_controller.rb
index 4e36ad4fd60a0288bbff7f724440d0bccf2762c9..8b8ae68203a7a2de1a6e396be6c72c0b674e81eb 100644
(file)
--- a/
app/controllers/front_controller.rb
+++ b/
app/controllers/front_controller.rb
@@
-5,7
+5,7
@@
class FrontController < ApplicationController
require_dependency "account"
def index
- @quickvotes = QuickVote.find(:all).sort {|a,b|
a.enddate <=> b.end
date}[0..1]
+ @quickvotes = QuickVote.find(:all).sort {|a,b|
b.startdate <=> a.start
date}[0..1]
# if the person claims they are logged in
if logged_in?
Benjamin Mako Hill
||
Want to submit a patch?