Skip to content

Commit

Permalink
Stab at fixing heroku again
Browse files Browse the repository at this point in the history
  • Loading branch information
kneath committed May 3, 2009
1 parent 1ec6327 commit 3cc3bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/burndown/app.rb
Expand Up @@ -14,7 +14,7 @@ class App < Sinatra::Default

get "/project/:id" do
@project = Project.get(params[:id])
@milestones = @project.milestones.all(:order => [:due_on.asc]).sort { |x, y| (x.due_on.nil? || x.due_on == "") ? 1 : x.due_on <=> y.due_on }
@milestones = @project.milestones.all(:order => [:due_on.asc]).sort { |x, y| !x.due_on ? 1 : x.due_on <=> y.due_on }
show :project
end

Expand Down

0 comments on commit 3cc3bc8

Please sign in to comment.