Skip to content

Commit

Permalink
explicitly order links
Browse files Browse the repository at this point in the history
  • Loading branch information
cgansen committed Jun 1, 2011
1 parent c754f2f commit dff1350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/page_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def index
end

def home
@links = Link.find(:all)
@links = Link.find(:all, :order => :created_at)
return if not @links.any?

@max, @min, @divisor = get_link_cloud_data(@links)
Expand Down

0 comments on commit dff1350

Please sign in to comment.