{"action":"created","issue":{"url":"https://api.github.com/repos/sul-dlss/purl/issues/97","repository_url":"https://api.github.com/repos/sul-dlss/purl","labels_url":"https://api.github.com/repos/sul-dlss/purl/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/sul-dlss/purl/issues/97/comments","events_url":"https://api.github.com/repos/sul-dlss/purl/issues/97/events","html_url":"https://github.com/sul-dlss/purl/pull/97","id":178212244,"number":97,"title":"Allow druids on landing page to be configured per-env so production …","user":{"login":"jkeck","id":96776,"avatar_url":"https://avatars.githubusercontent.com/u/96776?v=3","gravatar_id":"","url":"https://api.github.com/users/jkeck","html_url":"https://github.com/jkeck","followers_url":"https://api.github.com/users/jkeck/followers","following_url":"https://api.github.com/users/jkeck/following{/other_user}","gists_url":"https://api.github.com/users/jkeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeck/subscriptions","organizations_url":"https://api.github.com/users/jkeck/orgs","repos_url":"https://api.github.com/users/jkeck/repos","events_url":"https://api.github.com/users/jkeck/events{/privacy}","received_events_url":"https://api.github.com/users/jkeck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-21T00:06:34Z","updated_at":"2016-09-21T00:57:44Z","closed_at":"2016-09-21T00:27:25Z","pull_request":{"url":"https://api.github.com/repos/sul-dlss/purl/pulls/97","html_url":"https://github.com/sul-dlss/purl/pull/97","diff_url":"https://github.com/sul-dlss/purl/pull/97.diff","patch_url":"https://github.com/sul-dlss/purl/pull/97.patch"},"body":"…druids don't cause 404 on non-production envs.\r\n\r\nCurrently sul-purl-dev and sul-purl-test landing pages return a 404 because it is attempting to load a production druid and the `PurlResource::ObjectNotReady` error is raised.\r\n\r\nThis allows us to simply set the druid list to an empty array (or nil) to remove the section entirely, or we can add environment specific druids to be displayed on the landing page for that environment.\r\n\r\n\r\n## Before\r\n<img width=\"1087\" alt=\"before\" src=\"https://cloud.githubusercontent.com/assets/96776/18693438/8777dd92-7f56-11e6-994c-b1ea9c077737.png\">\r\n\r\n## After\r\n<img width=\"1094\" alt=\"after\" src=\"https://cloud.githubusercontent.com/assets/96776/18693437/87656ff4-7f56-11e6-8744-f0e975488bce.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sul-dlss/purl/issues/comments/248480583","html_url":"https://github.com/sul-dlss/purl/pull/97#issuecomment-248480583","issue_url":"https://api.github.com/repos/sul-dlss/purl/issues/97","id":248480583,"user":{"login":"cbeer","id":111218,"avatar_url":"https://avatars.githubusercontent.com/u/111218?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeer","html_url":"https://github.com/cbeer","followers_url":"https://api.github.com/users/cbeer/followers","following_url":"https://api.github.com/users/cbeer/following{/other_user}","gists_url":"https://api.github.com/users/cbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeer/subscriptions","organizations_url":"https://api.github.com/users/cbeer/orgs","repos_url":"https://api.github.com/users/cbeer/repos","events_url":"https://api.github.com/users/cbeer/events{/privacy}","received_events_url":"https://api.github.com/users/cbeer/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T00:57:44Z","updated_at":"2016-09-21T00:57:44Z","body":"👏 "}}
{"actor":{"display_login":"cbeer"}}