joelmoss/strano — pull request #24 by goodtouch (2012-09-24 18:43:27+00:00)
Title: Fix JS getProject() being called on every pages

It seems that getProject() was not intended to be called on every page but only on projects/:id (?)
(using the `location` property, makes it query invalid pages like /project/1/jobs/new/deploy.json when called on all pages)