Fix JS getProject() being called on every pages #24

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
Contributor

goodtouch commented Sep 24, 2012

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)

@goodtouch goodtouch 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)
d72ed99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment