Skip to content

Commit

Permalink
Don't use a callback, that's just dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
kneath committed May 1, 2009
1 parent c51c679 commit cbbb6cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions lib/burndown/app.rb
Expand Up @@ -50,11 +50,5 @@ class App < Sinatra::Default
redirect "/setup"
end

# handles
post "/lighthouse_callbacks/:project_id/:secret_hash" do
project = Project.get(params[:project_id])
return unless project.secret_hash == params[:secret_hash]
end

end
end
1 change: 0 additions & 1 deletion lib/burndown/project.rb
Expand Up @@ -30,7 +30,6 @@ def self.activate_remote(remote_id, token, host="example.com")
p.token = token
p.save
p.create_starting_milestones!
p.create_callback!(host)
p.save
p
end
Expand Down

0 comments on commit cbbb6cb

Please sign in to comment.