{"action":"created","issue":{"url":"https://api.github.com/repos/sbrilenko/soc-ego/issues/19","labels_url":"https://api.github.com/repos/sbrilenko/soc-ego/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/sbrilenko/soc-ego/issues/19/comments","events_url":"https://api.github.com/repos/sbrilenko/soc-ego/issues/19/events","html_url":"https://github.com/sbrilenko/soc-ego/pull/19","id":110686345,"number":19,"title":"Messages page fixes.","user":{"login":"hate2pay","id":6213089,"avatar_url":"https://avatars.githubusercontent.com/u/6213089?v=3","gravatar_id":"","url":"https://api.github.com/users/hate2pay","html_url":"https://github.com/hate2pay","followers_url":"https://api.github.com/users/hate2pay/followers","following_url":"https://api.github.com/users/hate2pay/following{/other_user}","gists_url":"https://api.github.com/users/hate2pay/gists{/gist_id}","starred_url":"https://api.github.com/users/hate2pay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hate2pay/subscriptions","organizations_url":"https://api.github.com/users/hate2pay/orgs","repos_url":"https://api.github.com/users/hate2pay/repos","events_url":"https://api.github.com/users/hate2pay/events{/privacy}","received_events_url":"https://api.github.com/users/hate2pay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-09T15:53:25Z","updated_at":"2015-10-09T15:58:27Z","closed_at":"2015-10-09T15:54:45Z","pull_request":{"url":"https://api.github.com/repos/sbrilenko/soc-ego/pulls/19","html_url":"https://github.com/sbrilenko/soc-ego/pull/19","diff_url":"https://github.com/sbrilenko/soc-ego/pull/19.diff","patch_url":"https://github.com/sbrilenko/soc-ego/pull/19.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/sbrilenko/soc-ego/issues/comments/146910711","html_url":"https://github.com/sbrilenko/soc-ego/pull/19#issuecomment-146910711","issue_url":"https://api.github.com/repos/sbrilenko/soc-ego/issues/19","id":146910711,"user":{"login":"KryDos","id":910691,"avatar_url":"https://avatars.githubusercontent.com/u/910691?v=3","gravatar_id":"","url":"https://api.github.com/users/KryDos","html_url":"https://github.com/KryDos","followers_url":"https://api.github.com/users/KryDos/followers","following_url":"https://api.github.com/users/KryDos/following{/other_user}","gists_url":"https://api.github.com/users/KryDos/gists{/gist_id}","starred_url":"https://api.github.com/users/KryDos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KryDos/subscriptions","organizations_url":"https://api.github.com/users/KryDos/orgs","repos_url":"https://api.github.com/users/KryDos/repos","events_url":"https://api.github.com/users/KryDos/events{/privacy}","received_events_url":"https://api.github.com/users/KryDos/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T15:58:27Z","updated_at":"2015-10-09T15:58:27Z","body":"как так-то? там же даже метод был типа isItMyFriend($user). Метод этот в User модели должен лежать. "}}