{"action":"created","comment":{"url":"https://api.github.com/repos/wolox-training/mr-rails/pulls/comments/42242625","id":42242625,"diff_hunk":"@@ -11,7 +14,13 @@ h2 = t('comment.name.plural')\n = render @article.comments\n \n h2 = t('comment.add')\n-= render 'comments/form'\n+- if user_signed_in?\n+  = render 'comments/form'\n+- else\n+  p \n+    | You need to\n+    =<> link_to \"Login\", new_user_session_path","path":"app/views/articles/show.html.slim","position":18,"original_position":18,"commit_id":"f3c3b1cfa16ae66a5030689e5ca228f016361b11","original_commit_id":"f3c3b1cfa16ae66a5030689e5ca228f016361b11","user":{"login":"Dinuuu","id":1182459,"avatar_url":"https://avatars.githubusercontent.com/u/1182459?v=3","gravatar_id":"","url":"https://api.github.com/users/Dinuuu","html_url":"https://github.com/Dinuuu","followers_url":"https://api.github.com/users/Dinuuu/followers","following_url":"https://api.github.com/users/Dinuuu/following{/other_user}","gists_url":"https://api.github.com/users/Dinuuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dinuuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dinuuu/subscriptions","organizations_url":"https://api.github.com/users/Dinuuu/orgs","repos_url":"https://api.github.com/users/Dinuuu/repos","events_url":"https://api.github.com/users/Dinuuu/events{/privacy}","received_events_url":"https://api.github.com/users/Dinuuu/received_events","type":"User","site_admin":false},"body":"what does `<>` means ? Apart from that \"Login\" should be internationalizated","created_at":"2015-10-16T13:37:01Z","updated_at":"2015-10-16T13:37:01Z","html_url":"https://github.com/wolox-training/mr-rails/pull/10#discussion_r42242625","pull_request_url":"https://api.github.com/repos/wolox-training/mr-rails/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/wolox-training/mr-rails/pulls/comments/42242625"},"html":{"href":"https://github.com/wolox-training/mr-rails/pull/10#discussion_r42242625"},"pull_request":{"href":"https://api.github.com/repos/wolox-training/mr-rails/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/wolox-training/mr-rails/pulls/10","id":47556839,"html_url":"https://github.com/wolox-training/mr-rails/pull/10","diff_url":"https://github.com/wolox-training/mr-rails/pull/10.diff","patch_url":"https://github.com/wolox-training/mr-rails/pull/10.patch","issue_url":"https://api.github.com/repos/wolox-training/mr-rails/issues/10","number":10,"state":"open","locked":false,"title":"Owners","user":{"login":"mrosso10","id":14981319,"avatar_url":"https://avatars.githubusercontent.com/u/14981319?v=3","gravatar_id":"","url":"https://api.github.com/users/mrosso10","html_url":"https://github.com/mrosso10","followers_url":"https://api.github.com/users/mrosso10/followers","following_url":"https://api.github.com/users/mrosso10/following{/other_user}","gists_url":"https://api.github.com/users/mrosso10/gists{/gist_id}","starred_url":"https://api.github.com/users/mrosso10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrosso10/subscriptions","organizations_url":"https://api.github.com/users/mrosso10/orgs","repos_url":"https://api.github.com/users/mrosso10/repos","events_url":"https://api.github.com/users/mrosso10/events{/privacy}","received_events_url":"https://api.github.com/users/mrosso10/received_events","type":"User","site_admin":false},"body":"# Summary\r\n* Adding owner to articles and comments\r\n\r\n# Test plan\r\n1. Login to the blog\r\n2. Create a new article\r\n3. Create new comments\r\n4. Edit and delete your article and comments\r\n5. It should not be possible for you to edit/delete articles and comments not created by you\r\n\r\n# Trello card\r\nhttps://trello.com/c/CptuyBS4/28-agregarle-creador-a-los-articulos-y-comentarios\r\n","created_at":"2015-10-13T16:33:00Z","updated_at":"2015-10-16T13:37:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af2b0f4ce0f8b14cfbabddbb90cf23c38a254e10","assignee":{"login":"Dinuuu","id":1182459,"avatar_url":"https://avatars.githubusercontent.com/u/1182459?v=3","gravatar_id":"","url":"https://api.github.com/users/Dinuuu","html_url":"https://github.com/Dinuuu","followers_url":"https://api.github.com/users/Dinuuu/followers","following_url":"https://api.github.com/users/Dinuuu/following{/other_user}","gists_url":"https://api.github.com/users/Dinuuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dinuuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dinuuu/subscriptions","organizations_url":"https://api.github.com/users/Dinuuu/orgs","repos_url":"https://api.github.com/users/Dinuuu/repos","events_url":"https://api.github.com/users/Dinuuu/events{/privacy}","received_events_url":"https://api.github.com/users/Dinuuu/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/wolox-training/mr-rails/pulls/10/commits","review_comments_url":"https://api.github.com/repos/wolox-training/mr-rails/pulls/10/comments","review_comment_url":"https://api.github.com/repos/wolox-training/mr-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wolox-training/mr-rails/issues/10/comments","statuses_url":"https://api.github.com/repos/wolox-training/mr-rails/statuses/f3c3b1cfa16ae66a5030689e5ca228f016361b11","head":{"label":"wolox-training:owners","ref":"owners","sha":"f3c3b1cfa16ae66a5030689e5ca228f016361b11","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"User","site_admin":false},"repo":{"id":43689253,"name":"mr-rails","full_name":"wolox-training/mr-rails","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/mr-rails","description":"Training Martin Rosso","fork":false,"url":"https://api.github.com/repos/wolox-training/mr-rails","forks_url":"https://api.github.com/repos/wolox-training/mr-rails/forks","keys_url":"https://api.github.com/repos/wolox-training/mr-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/mr-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/mr-rails/teams","hooks_url":"https://api.github.com/repos/wolox-training/mr-rails/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/mr-rails/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/mr-rails/events","assignees_url":"https://api.github.com/repos/wolox-training/mr-rails/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/mr-rails/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/mr-rails/tags","blobs_url":"https://api.github.com/repos/wolox-training/mr-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/mr-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/mr-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/mr-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/mr-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/mr-rails/languages","stargazers_url":"https://api.github.com/repos/wolox-training/mr-rails/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/mr-rails/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/mr-rails/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/mr-rails/subscription","commits_url":"https://api.github.com/repos/wolox-training/mr-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/mr-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/mr-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/mr-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/mr-rails/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/mr-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/mr-rails/merges","archive_url":"https://api.github.com/repos/wolox-training/mr-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/mr-rails/downloads","issues_url":"https://api.github.com/repos/wolox-training/mr-rails/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/mr-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/mr-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/mr-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/mr-rails/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/mr-rails/releases{/id}","created_at":"2015-10-05T14:29:16Z","updated_at":"2015-10-06T18:31:19Z","pushed_at":"2015-10-16T13:32:58Z","git_url":"git://github.com/wolox-training/mr-rails.git","ssh_url":"git@github.com:wolox-training/mr-rails.git","clone_url":"https://github.com/wolox-training/mr-rails.git","svn_url":"https://github.com/wolox-training/mr-rails","homepage":null,"size":292,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"wolox-training:mailer","ref":"mailer","sha":"731caea14fe3669bb83c782667f20f54604457d9","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"User","site_admin":false},"repo":{"id":43689253,"name":"mr-rails","full_name":"wolox-training/mr-rails","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/mr-rails","description":"Training Martin Rosso","fork":false,"url":"https://api.github.com/repos/wolox-training/mr-rails","forks_url":"https://api.github.com/repos/wolox-training/mr-rails/forks","keys_url":"https://api.github.com/repos/wolox-training/mr-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/mr-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/mr-rails/teams","hooks_url":"https://api.github.com/repos/wolox-training/mr-rails/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/mr-rails/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/mr-rails/events","assignees_url":"https://api.github.com/repos/wolox-training/mr-rails/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/mr-rails/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/mr-rails/tags","blobs_url":"https://api.github.com/repos/wolox-training/mr-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/mr-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/mr-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/mr-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/mr-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/mr-rails/languages","stargazers_url":"https://api.github.com/repos/wolox-training/mr-rails/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/mr-rails/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/mr-rails/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/mr-rails/subscription","commits_url":"https://api.github.com/repos/wolox-training/mr-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/mr-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/mr-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/mr-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/mr-rails/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/mr-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/mr-rails/merges","archive_url":"https://api.github.com/repos/wolox-training/mr-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/mr-rails/downloads","issues_url":"https://api.github.com/repos/wolox-training/mr-rails/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/mr-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/mr-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/mr-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/mr-rails/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/mr-rails/releases{/id}","created_at":"2015-10-05T14:29:16Z","updated_at":"2015-10-06T18:31:19Z","pushed_at":"2015-10-16T13:32:58Z","git_url":"git://github.com/wolox-training/mr-rails.git","ssh_url":"git@github.com:wolox-training/mr-rails.git","clone_url":"https://github.com/wolox-training/mr-rails.git","svn_url":"https://github.com/wolox-training/mr-rails","homepage":null,"size":292,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wolox-training/mr-rails/pulls/10"},"html":{"href":"https://github.com/wolox-training/mr-rails/pull/10"},"issue":{"href":"https://api.github.com/repos/wolox-training/mr-rails/issues/10"},"comments":{"href":"https://api.github.com/repos/wolox-training/mr-rails/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/wolox-training/mr-rails/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/wolox-training/mr-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wolox-training/mr-rails/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/wolox-training/mr-rails/statuses/f3c3b1cfa16ae66a5030689e5ca228f016361b11"}}}}