Only show changesets that are actually closed in the index view.
This commit is contained in:
parent
d6a1ccf6b4
commit
8fe53e4823
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class BrowseController < ApplicationController
|
|||
end
|
||||
|
||||
def index
|
||||
@changesets = Changeset.find(:all, :order => "closed_at DESC", :limit=> 20)
|
||||
@changesets = Changeset.find(:all, :order => "closed_at DESC", :conditions => ['closed_at < ?', DateTime.now], :limit=> 20)
|
||||
end
|
||||
|
||||
def relation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue