BenGlasser/queryizer — pull request #1 by zentrope (2013-06-04 00:26:31+00:00)
Title: UI and job management tweaks

Ben--

This should fix a couple of things:

- When running a query by clicking a link on the main page, the app forwards to GET /jobs/job-id route, which creates the job then displays the list. If you refresh the browser, though, you get another job submitted. (GET /job/:id should return a specific job, not create one, but this fix is enough to get something working.)

- Sometimes :job is used for a job id, and sometimes :id. The result was that when a query finishes, its results are added to the jobs list with a "nil" key, which means all finishing jobs will overwrite the results

Hope this helps!

Keith