{"action":"created","comment":{"url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/comments/70718904","id":70718904,"diff_hunk":"@@ -1,6 +1,26 @@\n class PageDecorator < ApplicationDecorator\n   delegate :title, :body, :created_at, :category_id, :visitors, :category, :user,\n     :comments_count\n-  delegate :full_name, to: :user, prefix: true\n+  delegate :full_name, :id, to: :user, prefix: true\n   delegate :category, :count, to: :category, prefix: true\n+\n+  def data_format\n+    created_at.strftime(\"%m/%d/%Y at %I:%M%p \")\n+  end\n+\n+  def preview_body\n+    if object.body.length > 330","path":"app/decorators/page_decorator.rb","position":13,"original_position":13,"commit_id":"30e9a5758e3e29fd0c1f97f2ec88440890198637","original_commit_id":"30e9a5758e3e29fd0c1f97f2ec88440890198637","user":{"login":"VladislavNikoshnov","id":1727985,"avatar_url":"https://avatars.githubusercontent.com/u/1727985?v=3","gravatar_id":"","url":"https://api.github.com/users/VladislavNikoshnov","html_url":"https://github.com/VladislavNikoshnov","followers_url":"https://api.github.com/users/VladislavNikoshnov/followers","following_url":"https://api.github.com/users/VladislavNikoshnov/following{/other_user}","gists_url":"https://api.github.com/users/VladislavNikoshnov/gists{/gist_id}","starred_url":"https://api.github.com/users/VladislavNikoshnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladislavNikoshnov/subscriptions","organizations_url":"https://api.github.com/users/VladislavNikoshnov/orgs","repos_url":"https://api.github.com/users/VladislavNikoshnov/repos","events_url":"https://api.github.com/users/VladislavNikoshnov/events{/privacy}","received_events_url":"https://api.github.com/users/VladislavNikoshnov/received_events","type":"User","site_admin":false},"body":"можем ли мы использовать вот такую штуку?\r\nhttp://apidock.com/rails/ActionView/Helpers/TextHelper/truncate","created_at":"2016-07-13T22:15:10Z","updated_at":"2016-07-13T22:15:10Z","html_url":"https://github.com/AlinaMoskieva/sport_cms/pull/31#discussion_r70718904","pull_request_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/comments/70718904"},"html":{"href":"https://github.com/AlinaMoskieva/sport_cms/pull/31#discussion_r70718904"},"pull_request":{"href":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/31","id":77134217,"html_url":"https://github.com/AlinaMoskieva/sport_cms/pull/31","diff_url":"https://github.com/AlinaMoskieva/sport_cms/pull/31.diff","patch_url":"https://github.com/AlinaMoskieva/sport_cms/pull/31.patch","issue_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues/31","number":31,"state":"open","locked":false,"title":"Subscriptions","user":{"login":"AlinaMoskieva","id":9613409,"avatar_url":"https://avatars.githubusercontent.com/u/9613409?v=3","gravatar_id":"","url":"https://api.github.com/users/AlinaMoskieva","html_url":"https://github.com/AlinaMoskieva","followers_url":"https://api.github.com/users/AlinaMoskieva/followers","following_url":"https://api.github.com/users/AlinaMoskieva/following{/other_user}","gists_url":"https://api.github.com/users/AlinaMoskieva/gists{/gist_id}","starred_url":"https://api.github.com/users/AlinaMoskieva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlinaMoskieva/subscriptions","organizations_url":"https://api.github.com/users/AlinaMoskieva/orgs","repos_url":"https://api.github.com/users/AlinaMoskieva/repos","events_url":"https://api.github.com/users/AlinaMoskieva/events{/privacy}","received_events_url":"https://api.github.com/users/AlinaMoskieva/received_events","type":"User","site_admin":false},"body":"Issue https://github.com/AlinaMoskieva/sport_cms/issues/23\r\nplease review, @VladislavNikoshnov )","created_at":"2016-07-12T14:52:56Z","updated_at":"2016-07-13T22:15:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d85db44abf51eaae97c88f99e964f1c592803fdc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/31/commits","review_comments_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/31/comments","review_comment_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues/31/comments","statuses_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/statuses/30e9a5758e3e29fd0c1f97f2ec88440890198637","head":{"label":"AlinaMoskieva:subscriptions","ref":"subscriptions","sha":"30e9a5758e3e29fd0c1f97f2ec88440890198637","user":{"login":"AlinaMoskieva","id":9613409,"avatar_url":"https://avatars.githubusercontent.com/u/9613409?v=3","gravatar_id":"","url":"https://api.github.com/users/AlinaMoskieva","html_url":"https://github.com/AlinaMoskieva","followers_url":"https://api.github.com/users/AlinaMoskieva/followers","following_url":"https://api.github.com/users/AlinaMoskieva/following{/other_user}","gists_url":"https://api.github.com/users/AlinaMoskieva/gists{/gist_id}","starred_url":"https://api.github.com/users/AlinaMoskieva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlinaMoskieva/subscriptions","organizations_url":"https://api.github.com/users/AlinaMoskieva/orgs","repos_url":"https://api.github.com/users/AlinaMoskieva/repos","events_url":"https://api.github.com/users/AlinaMoskieva/events{/privacy}","received_events_url":"https://api.github.com/users/AlinaMoskieva/received_events","type":"User","site_admin":false},"repo":{"id":56243798,"name":"sport_cms","full_name":"AlinaMoskieva/sport_cms","owner":{"login":"AlinaMoskieva","id":9613409,"avatar_url":"https://avatars.githubusercontent.com/u/9613409?v=3","gravatar_id":"","url":"https://api.github.com/users/AlinaMoskieva","html_url":"https://github.com/AlinaMoskieva","followers_url":"https://api.github.com/users/AlinaMoskieva/followers","following_url":"https://api.github.com/users/AlinaMoskieva/following{/other_user}","gists_url":"https://api.github.com/users/AlinaMoskieva/gists{/gist_id}","starred_url":"https://api.github.com/users/AlinaMoskieva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlinaMoskieva/subscriptions","organizations_url":"https://api.github.com/users/AlinaMoskieva/orgs","repos_url":"https://api.github.com/users/AlinaMoskieva/repos","events_url":"https://api.github.com/users/AlinaMoskieva/events{/privacy}","received_events_url":"https://api.github.com/users/AlinaMoskieva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlinaMoskieva/sport_cms","description":"","fork":false,"url":"https://api.github.com/repos/AlinaMoskieva/sport_cms","forks_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/forks","keys_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/teams","hooks_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/hooks","issue_events_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues/events{/number}","events_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/events","assignees_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/assignees{/user}","branches_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/branches{/branch}","tags_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/tags","blobs_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/statuses/{sha}","languages_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/languages","stargazers_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/stargazers","contributors_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/contributors","subscribers_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/subscribers","subscription_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/subscription","commits_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/contents/{+path}","compare_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/merges","archive_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/downloads","issues_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues{/number}","pulls_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls{/number}","milestones_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/milestones{/number}","notifications_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/labels{/name}","releases_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/releases{/id}","deployments_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/deployments","created_at":"2016-04-14T14:23:23Z","updated_at":"2016-04-14T14:23:56Z","pushed_at":"2016-07-13T15:05:13Z","git_url":"git://github.com/AlinaMoskieva/sport_cms.git","ssh_url":"git@github.com:AlinaMoskieva/sport_cms.git","clone_url":"https://github.com/AlinaMoskieva/sport_cms.git","svn_url":"https://github.com/AlinaMoskieva/sport_cms","homepage":null,"size":4770,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"AlinaMoskieva:master","ref":"master","sha":"b5d9451a1044dfdaadcb588b44349e3bfd237cd1","user":{"login":"AlinaMoskieva","id":9613409,"avatar_url":"https://avatars.githubusercontent.com/u/9613409?v=3","gravatar_id":"","url":"https://api.github.com/users/AlinaMoskieva","html_url":"https://github.com/AlinaMoskieva","followers_url":"https://api.github.com/users/AlinaMoskieva/followers","following_url":"https://api.github.com/users/AlinaMoskieva/following{/other_user}","gists_url":"https://api.github.com/users/AlinaMoskieva/gists{/gist_id}","starred_url":"https://api.github.com/users/AlinaMoskieva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlinaMoskieva/subscriptions","organizations_url":"https://api.github.com/users/AlinaMoskieva/orgs","repos_url":"https://api.github.com/users/AlinaMoskieva/repos","events_url":"https://api.github.com/users/AlinaMoskieva/events{/privacy}","received_events_url":"https://api.github.com/users/AlinaMoskieva/received_events","type":"User","site_admin":false},"repo":{"id":56243798,"name":"sport_cms","full_name":"AlinaMoskieva/sport_cms","owner":{"login":"AlinaMoskieva","id":9613409,"avatar_url":"https://avatars.githubusercontent.com/u/9613409?v=3","gravatar_id":"","url":"https://api.github.com/users/AlinaMoskieva","html_url":"https://github.com/AlinaMoskieva","followers_url":"https://api.github.com/users/AlinaMoskieva/followers","following_url":"https://api.github.com/users/AlinaMoskieva/following{/other_user}","gists_url":"https://api.github.com/users/AlinaMoskieva/gists{/gist_id}","starred_url":"https://api.github.com/users/AlinaMoskieva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlinaMoskieva/subscriptions","organizations_url":"https://api.github.com/users/AlinaMoskieva/orgs","repos_url":"https://api.github.com/users/AlinaMoskieva/repos","events_url":"https://api.github.com/users/AlinaMoskieva/events{/privacy}","received_events_url":"https://api.github.com/users/AlinaMoskieva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlinaMoskieva/sport_cms","description":"","fork":false,"url":"https://api.github.com/repos/AlinaMoskieva/sport_cms","forks_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/forks","keys_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/teams","hooks_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/hooks","issue_events_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues/events{/number}","events_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/events","assignees_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/assignees{/user}","branches_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/branches{/branch}","tags_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/tags","blobs_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/statuses/{sha}","languages_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/languages","stargazers_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/stargazers","contributors_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/contributors","subscribers_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/subscribers","subscription_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/subscription","commits_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/contents/{+path}","compare_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/merges","archive_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/downloads","issues_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues{/number}","pulls_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls{/number}","milestones_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/milestones{/number}","notifications_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/labels{/name}","releases_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/releases{/id}","deployments_url":"https://api.github.com/repos/AlinaMoskieva/sport_cms/deployments","created_at":"2016-04-14T14:23:23Z","updated_at":"2016-04-14T14:23:56Z","pushed_at":"2016-07-13T15:05:13Z","git_url":"git://github.com/AlinaMoskieva/sport_cms.git","ssh_url":"git@github.com:AlinaMoskieva/sport_cms.git","clone_url":"https://github.com/AlinaMoskieva/sport_cms.git","svn_url":"https://github.com/AlinaMoskieva/sport_cms","homepage":null,"size":4770,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/31"},"html":{"href":"https://github.com/AlinaMoskieva/sport_cms/pull/31"},"issue":{"href":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues/31"},"comments":{"href":"https://api.github.com/repos/AlinaMoskieva/sport_cms/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlinaMoskieva/sport_cms/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/AlinaMoskieva/sport_cms/statuses/30e9a5758e3e29fd0c1f97f2ec88440890198637"}}}}
{"actor":{"display_login":"VladislavNikoshnov"}}