Skip to content

Commit

Permalink
Need to save milestone before syncing with lighthouse
Browse files Browse the repository at this point in the history
  • Loading branch information
kneath committed May 1, 2009
1 parent 34b295f commit ad745ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/burndown/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def create_starting_milestones!
result = Lighthouse.get_milestones(self.remote_id, self.token.account, self.token.token)
(result["milestones"] || []).each do |milestone|
m = self.milestones.create(:name => milestone["title"], :remote_id => milestone["id"], :activated_at => Time.now.utc)
m.save
m.sync_with_lighthouse
end
end
Expand Down

0 comments on commit ad745ec

Please sign in to comment.