{"action":"created","comment":{"url":"https://api.github.com/repos/valo/maycamp_arena/pulls/comments/36164327","id":36164327,"diff_hunk":"@@ -0,0 +1,9 @@\n+<h1>Състезания по Групи</h1>\n+<% for @grp in @groups do %>\n+  <h2><%= link_to h(@grp.name), admin_group_path(@grp) %></h2>\n+  <%= link_to 'Промени', edit_admin_group_path(@grp) %> -\n+  <%= link_to 'Изтрий', admin_group_path(@grp), { :method => :delete,\n+         :data => { :confirm => 'Сигурни ли сте, че искате да изтриете група ' + @grp.name + '?' } } %>","path":"app/views/admin/groups/index.html.erb","position":6,"original_position":6,"commit_id":"cc420db425905a0955d61117ec2d7eb5dd2c15f6","original_commit_id":"cc420db425905a0955d61117ec2d7eb5dd2c15f6","user":{"login":"valo","id":47639,"avatar_url":"https://avatars.githubusercontent.com/u/47639?v=3","gravatar_id":"","url":"https://api.github.com/users/valo","html_url":"https://github.com/valo","followers_url":"https://api.github.com/users/valo/followers","following_url":"https://api.github.com/users/valo/following{/other_user}","gists_url":"https://api.github.com/users/valo/gists{/gist_id}","starred_url":"https://api.github.com/users/valo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valo/subscriptions","organizations_url":"https://api.github.com/users/valo/orgs","repos_url":"https://api.github.com/users/valo/repos","events_url":"https://api.github.com/users/valo/events{/privacy}","received_events_url":"https://api.github.com/users/valo/received_events","type":"User","site_admin":false},"body":"You can create this string easier without the need to string concatenation like this:\r\n\r\n```ruby\r\n{ method: :delete, data: { confirm: \"Сигурни ли сте, че искате да изтриете група #{ @grp.name }?\" } }\r\n```","created_at":"2015-08-04T07:44:42Z","updated_at":"2015-08-04T07:44:42Z","html_url":"https://github.com/valo/maycamp_arena/pull/106#discussion_r36164327","pull_request_url":"https://api.github.com/repos/valo/maycamp_arena/pulls/106","_links":{"self":{"href":"https://api.github.com/repos/valo/maycamp_arena/pulls/comments/36164327"},"html":{"href":"https://github.com/valo/maycamp_arena/pull/106#discussion_r36164327"},"pull_request":{"href":"https://api.github.com/repos/valo/maycamp_arena/pulls/106"}}},"pull_request":{"url":"https://api.github.com/repos/valo/maycamp_arena/pulls/106","id":39923001,"html_url":"https://github.com/valo/maycamp_arena/pull/106","diff_url":"https://github.com/valo/maycamp_arena/pull/106.diff","patch_url":"https://github.com/valo/maycamp_arena/pull/106.patch","issue_url":"https://api.github.com/repos/valo/maycamp_arena/issues/106","number":106,"state":"open","locked":false,"title":"Adding Group distribution with random unique pictures","user":{"login":"SValkanov","id":8790422,"avatar_url":"https://avatars.githubusercontent.com/u/8790422?v=3","gravatar_id":"","url":"https://api.github.com/users/SValkanov","html_url":"https://github.com/SValkanov","followers_url":"https://api.github.com/users/SValkanov/followers","following_url":"https://api.github.com/users/SValkanov/following{/other_user}","gists_url":"https://api.github.com/users/SValkanov/gists{/gist_id}","starred_url":"https://api.github.com/users/SValkanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SValkanov/subscriptions","organizations_url":"https://api.github.com/users/SValkanov/orgs","repos_url":"https://api.github.com/users/SValkanov/repos","events_url":"https://api.github.com/users/SValkanov/events{/privacy}","received_events_url":"https://api.github.com/users/SValkanov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-14T14:44:08Z","updated_at":"2015-08-04T07:44:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"256cf34b47239835b8487bb1bc3288128b383e07","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/valo/maycamp_arena/pulls/106/commits","review_comments_url":"https://api.github.com/repos/valo/maycamp_arena/pulls/106/comments","review_comment_url":"https://api.github.com/repos/valo/maycamp_arena/pulls/comments{/number}","comments_url":"https://api.github.com/repos/valo/maycamp_arena/issues/106/comments","statuses_url":"https://api.github.com/repos/valo/maycamp_arena/statuses/cc420db425905a0955d61117ec2d7eb5dd2c15f6","head":{"label":"SValkanov:master","ref":"master","sha":"cc420db425905a0955d61117ec2d7eb5dd2c15f6","user":{"login":"SValkanov","id":8790422,"avatar_url":"https://avatars.githubusercontent.com/u/8790422?v=3","gravatar_id":"","url":"https://api.github.com/users/SValkanov","html_url":"https://github.com/SValkanov","followers_url":"https://api.github.com/users/SValkanov/followers","following_url":"https://api.github.com/users/SValkanov/following{/other_user}","gists_url":"https://api.github.com/users/SValkanov/gists{/gist_id}","starred_url":"https://api.github.com/users/SValkanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SValkanov/subscriptions","organizations_url":"https://api.github.com/users/SValkanov/orgs","repos_url":"https://api.github.com/users/SValkanov/repos","events_url":"https://api.github.com/users/SValkanov/events{/privacy}","received_events_url":"https://api.github.com/users/SValkanov/received_events","type":"User","site_admin":false},"repo":{"id":38360640,"name":"maycamp_arena","full_name":"SValkanov/maycamp_arena","owner":{"login":"SValkanov","id":8790422,"avatar_url":"https://avatars.githubusercontent.com/u/8790422?v=3","gravatar_id":"","url":"https://api.github.com/users/SValkanov","html_url":"https://github.com/SValkanov","followers_url":"https://api.github.com/users/SValkanov/followers","following_url":"https://api.github.com/users/SValkanov/following{/other_user}","gists_url":"https://api.github.com/users/SValkanov/gists{/gist_id}","starred_url":"https://api.github.com/users/SValkanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SValkanov/subscriptions","organizations_url":"https://api.github.com/users/SValkanov/orgs","repos_url":"https://api.github.com/users/SValkanov/repos","events_url":"https://api.github.com/users/SValkanov/events{/privacy}","received_events_url":"https://api.github.com/users/SValkanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SValkanov/maycamp_arena","description":"This is the grading system behind http://arena.maycamp.com. It started as a fork of spoj0, but at the end was almost completely reimplemented.","fork":true,"url":"https://api.github.com/repos/SValkanov/maycamp_arena","forks_url":"https://api.github.com/repos/SValkanov/maycamp_arena/forks","keys_url":"https://api.github.com/repos/SValkanov/maycamp_arena/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SValkanov/maycamp_arena/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SValkanov/maycamp_arena/teams","hooks_url":"https://api.github.com/repos/SValkanov/maycamp_arena/hooks","issue_events_url":"https://api.github.com/repos/SValkanov/maycamp_arena/issues/events{/number}","events_url":"https://api.github.com/repos/SValkanov/maycamp_arena/events","assignees_url":"https://api.github.com/repos/SValkanov/maycamp_arena/assignees{/user}","branches_url":"https://api.github.com/repos/SValkanov/maycamp_arena/branches{/branch}","tags_url":"https://api.github.com/repos/SValkanov/maycamp_arena/tags","blobs_url":"https://api.github.com/repos/SValkanov/maycamp_arena/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SValkanov/maycamp_arena/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SValkanov/maycamp_arena/git/refs{/sha}","trees_url":"https://api.github.com/repos/SValkanov/maycamp_arena/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SValkanov/maycamp_arena/statuses/{sha}","languages_url":"https://api.github.com/repos/SValkanov/maycamp_arena/languages","stargazers_url":"https://api.github.com/repos/SValkanov/maycamp_arena/stargazers","contributors_url":"https://api.github.com/repos/SValkanov/maycamp_arena/contributors","subscribers_url":"https://api.github.com/repos/SValkanov/maycamp_arena/subscribers","subscription_url":"https://api.github.com/repos/SValkanov/maycamp_arena/subscription","commits_url":"https://api.github.com/repos/SValkanov/maycamp_arena/commits{/sha}","git_commits_url":"https://api.github.com/repos/SValkanov/maycamp_arena/git/commits{/sha}","comments_url":"https://api.github.com/repos/SValkanov/maycamp_arena/comments{/number}","issue_comment_url":"https://api.github.com/repos/SValkanov/maycamp_arena/issues/comments{/number}","contents_url":"https://api.github.com/repos/SValkanov/maycamp_arena/contents/{+path}","compare_url":"https://api.github.com/repos/SValkanov/maycamp_arena/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SValkanov/maycamp_arena/merges","archive_url":"https://api.github.com/repos/SValkanov/maycamp_arena/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SValkanov/maycamp_arena/downloads","issues_url":"https://api.github.com/repos/SValkanov/maycamp_arena/issues{/number}","pulls_url":"https://api.github.com/repos/SValkanov/maycamp_arena/pulls{/number}","milestones_url":"https://api.github.com/repos/SValkanov/maycamp_arena/milestones{/number}","notifications_url":"https://api.github.com/repos/SValkanov/maycamp_arena/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SValkanov/maycamp_arena/labels{/name}","releases_url":"https://api.github.com/repos/SValkanov/maycamp_arena/releases{/id}","created_at":"2015-07-01T08:57:24Z","updated_at":"2015-07-01T08:57:24Z","pushed_at":"2015-07-18T11:43:00Z","git_url":"git://github.com/SValkanov/maycamp_arena.git","ssh_url":"git@github.com:SValkanov/maycamp_arena.git","clone_url":"https://github.com/SValkanov/maycamp_arena.git","svn_url":"https://github.com/SValkanov/maycamp_arena","homepage":"http://openfmi.net/projects/spoj0/","size":9114,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"valo:master","ref":"master","sha":"6727d092f2c18dd0bdd20cbb4c58cd31f48b513e","user":{"login":"valo","id":47639,"avatar_url":"https://avatars.githubusercontent.com/u/47639?v=3","gravatar_id":"","url":"https://api.github.com/users/valo","html_url":"https://github.com/valo","followers_url":"https://api.github.com/users/valo/followers","following_url":"https://api.github.com/users/valo/following{/other_user}","gists_url":"https://api.github.com/users/valo/gists{/gist_id}","starred_url":"https://api.github.com/users/valo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valo/subscriptions","organizations_url":"https://api.github.com/users/valo/orgs","repos_url":"https://api.github.com/users/valo/repos","events_url":"https://api.github.com/users/valo/events{/privacy}","received_events_url":"https://api.github.com/users/valo/received_events","type":"User","site_admin":false},"repo":{"id":292367,"name":"maycamp_arena","full_name":"valo/maycamp_arena","owner":{"login":"valo","id":47639,"avatar_url":"https://avatars.githubusercontent.com/u/47639?v=3","gravatar_id":"","url":"https://api.github.com/users/valo","html_url":"https://github.com/valo","followers_url":"https://api.github.com/users/valo/followers","following_url":"https://api.github.com/users/valo/following{/other_user}","gists_url":"https://api.github.com/users/valo/gists{/gist_id}","starred_url":"https://api.github.com/users/valo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valo/subscriptions","organizations_url":"https://api.github.com/users/valo/orgs","repos_url":"https://api.github.com/users/valo/repos","events_url":"https://api.github.com/users/valo/events{/privacy}","received_events_url":"https://api.github.com/users/valo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/valo/maycamp_arena","description":"This is the grading system behind http://arena.maycamp.com. It started as a fork of spoj0, but at the end was almost completely reimplemented.","fork":false,"url":"https://api.github.com/repos/valo/maycamp_arena","forks_url":"https://api.github.com/repos/valo/maycamp_arena/forks","keys_url":"https://api.github.com/repos/valo/maycamp_arena/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valo/maycamp_arena/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valo/maycamp_arena/teams","hooks_url":"https://api.github.com/repos/valo/maycamp_arena/hooks","issue_events_url":"https://api.github.com/repos/valo/maycamp_arena/issues/events{/number}","events_url":"https://api.github.com/repos/valo/maycamp_arena/events","assignees_url":"https://api.github.com/repos/valo/maycamp_arena/assignees{/user}","branches_url":"https://api.github.com/repos/valo/maycamp_arena/branches{/branch}","tags_url":"https://api.github.com/repos/valo/maycamp_arena/tags","blobs_url":"https://api.github.com/repos/valo/maycamp_arena/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valo/maycamp_arena/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valo/maycamp_arena/git/refs{/sha}","trees_url":"https://api.github.com/repos/valo/maycamp_arena/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valo/maycamp_arena/statuses/{sha}","languages_url":"https://api.github.com/repos/valo/maycamp_arena/languages","stargazers_url":"https://api.github.com/repos/valo/maycamp_arena/stargazers","contributors_url":"https://api.github.com/repos/valo/maycamp_arena/contributors","subscribers_url":"https://api.github.com/repos/valo/maycamp_arena/subscribers","subscription_url":"https://api.github.com/repos/valo/maycamp_arena/subscription","commits_url":"https://api.github.com/repos/valo/maycamp_arena/commits{/sha}","git_commits_url":"https://api.github.com/repos/valo/maycamp_arena/git/commits{/sha}","comments_url":"https://api.github.com/repos/valo/maycamp_arena/comments{/number}","issue_comment_url":"https://api.github.com/repos/valo/maycamp_arena/issues/comments{/number}","contents_url":"https://api.github.com/repos/valo/maycamp_arena/contents/{+path}","compare_url":"https://api.github.com/repos/valo/maycamp_arena/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valo/maycamp_arena/merges","archive_url":"https://api.github.com/repos/valo/maycamp_arena/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valo/maycamp_arena/downloads","issues_url":"https://api.github.com/repos/valo/maycamp_arena/issues{/number}","pulls_url":"https://api.github.com/repos/valo/maycamp_arena/pulls{/number}","milestones_url":"https://api.github.com/repos/valo/maycamp_arena/milestones{/number}","notifications_url":"https://api.github.com/repos/valo/maycamp_arena/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valo/maycamp_arena/labels{/name}","releases_url":"https://api.github.com/repos/valo/maycamp_arena/releases{/id}","created_at":"2009-08-30T12:30:37Z","updated_at":"2015-04-15T21:06:30Z","pushed_at":"2015-07-18T11:43:00Z","git_url":"git://github.com/valo/maycamp_arena.git","ssh_url":"git@github.com:valo/maycamp_arena.git","clone_url":"https://github.com/valo/maycamp_arena.git","svn_url":"https://github.com/valo/maycamp_arena","homepage":"http://openfmi.net/projects/spoj0/","size":184750,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":18,"forks":8,"open_issues":18,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/valo/maycamp_arena/pulls/106"},"html":{"href":"https://github.com/valo/maycamp_arena/pull/106"},"issue":{"href":"https://api.github.com/repos/valo/maycamp_arena/issues/106"},"comments":{"href":"https://api.github.com/repos/valo/maycamp_arena/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/valo/maycamp_arena/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/valo/maycamp_arena/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/valo/maycamp_arena/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/valo/maycamp_arena/statuses/cc420db425905a0955d61117ec2d7eb5dd2c15f6"}}}}