{"action":"opened","issue":{"url":"https://api.github.com/repos/KevinTurnbull/pinup/issues/2","labels_url":"https://api.github.com/repos/KevinTurnbull/pinup/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/KevinTurnbull/pinup/issues/2/comments","events_url":"https://api.github.com/repos/KevinTurnbull/pinup/issues/2/events","html_url":"https://github.com/KevinTurnbull/pinup/issues/2","id":121085975,"number":2,"title":"Can't edit a venue","user":{"login":"KevinTurnbull","id":11863478,"avatar_url":"https://avatars.githubusercontent.com/u/11863478?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinTurnbull","html_url":"https://github.com/KevinTurnbull","followers_url":"https://api.github.com/users/KevinTurnbull/followers","following_url":"https://api.github.com/users/KevinTurnbull/following{/other_user}","gists_url":"https://api.github.com/users/KevinTurnbull/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinTurnbull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinTurnbull/subscriptions","organizations_url":"https://api.github.com/users/KevinTurnbull/orgs","repos_url":"https://api.github.com/users/KevinTurnbull/repos","events_url":"https://api.github.com/users/KevinTurnbull/events{/privacy}","received_events_url":"https://api.github.com/users/KevinTurnbull/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-08T19:57:05Z","updated_at":"2015-12-08T19:57:05Z","closed_at":null,"body":"Had trouble loading this link\r\n/venues/13/edit\r\n\r\nNoMethodError in Venues#edit\r\nShowing /home/ktadmin/git-repo/pinup/app/views/venues/_authorize.html.erb where line #6 raised:\r\n\r\nundefined method `[]' for nil:NilClass\r\nExtracted source (around line #6):\r\n4\r\n5\r\n6\r\n7\r\n8\r\n9\r\n              \r\n  <% @lokat = Geocoder.search(@koord)[0].data %>\r\n<% end %> \r\n<% unless @lokat[\"postal\"] == nil || '[]' %>\r\n  <% @citprov = Geocoder.search(@lokat[\"postal\"])[0].data %>\r\n<% end %>\r\n\r\nTrace of template inclusion: app/views/venues/edit.html.erb\r\n\r\nRails.root: /home/ktadmin/git-repo/pinup\r\n\r\nApplication Trace | Framework Trace | Full Trace\r\napp/views/venues/_authorize.html.erb:6:in `_app_views_venues__authorize_html_erb__3634621818827670044_87020320'\r\napp/views/venues/edit.html.erb:4:in `_app_views_venues_edit_html_erb___4189838497210945556_87566200'"}}