{"action":"created","issue":{"url":"https://api.github.com/repos/neSpecc/codex/issues/42","labels_url":"https://api.github.com/repos/neSpecc/codex/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/neSpecc/codex/issues/42/comments","events_url":"https://api.github.com/repos/neSpecc/codex/issues/42/events","html_url":"https://github.com/neSpecc/codex/pull/42","id":117893424,"number":42,"title":"#21 Обращение к базе в админке заменено на правильные модели.","user":{"login":"eliseealex","id":4640201,"avatar_url":"https://avatars.githubusercontent.com/u/4640201?v=3","gravatar_id":"","url":"https://api.github.com/users/eliseealex","html_url":"https://github.com/eliseealex","followers_url":"https://api.github.com/users/eliseealex/followers","following_url":"https://api.github.com/users/eliseealex/following{/other_user}","gists_url":"https://api.github.com/users/eliseealex/gists{/gist_id}","starred_url":"https://api.github.com/users/eliseealex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliseealex/subscriptions","organizations_url":"https://api.github.com/users/eliseealex/orgs","repos_url":"https://api.github.com/users/eliseealex/repos","events_url":"https://api.github.com/users/eliseealex/events{/privacy}","received_events_url":"https://api.github.com/users/eliseealex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-19T19:48:44Z","updated_at":"2015-11-19T20:33:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/neSpecc/codex/pulls/42","html_url":"https://github.com/neSpecc/codex/pull/42","diff_url":"https://github.com/neSpecc/codex/pull/42.diff","patch_url":"https://github.com/neSpecc/codex/pull/42.patch"},"body":"Reviewers:\r\n- [ ] @n0str \r\n- [x] @ivanszhuravlev \r\n- [ ] @Markus3295  \r\n\r\nCloses #21 "},"comment":{"url":"https://api.github.com/repos/neSpecc/codex/issues/comments/158189516","html_url":"https://github.com/neSpecc/codex/pull/42#issuecomment-158189516","issue_url":"https://api.github.com/repos/neSpecc/codex/issues/42","id":158189516,"user":{"login":"n0str","id":988885,"avatar_url":"https://avatars.githubusercontent.com/u/988885?v=3","gravatar_id":"","url":"https://api.github.com/users/n0str","html_url":"https://github.com/n0str","followers_url":"https://api.github.com/users/n0str/followers","following_url":"https://api.github.com/users/n0str/following{/other_user}","gists_url":"https://api.github.com/users/n0str/gists{/gist_id}","starred_url":"https://api.github.com/users/n0str/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n0str/subscriptions","organizations_url":"https://api.github.com/users/n0str/orgs","repos_url":"https://api.github.com/users/n0str/repos","events_url":"https://api.github.com/users/n0str/events{/privacy}","received_events_url":"https://api.github.com/users/n0str/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T20:33:13Z","updated_at":"2015-11-19T20:33:13Z","body":"Методы модели лучше сгруппировать по логике (get, find...) и отсортировать по названию. Это касается не только данного пулл-реквеста, но и всего проекта. Читать код будет проще."}}