{"action":"created","comment":{"url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/comments/26845549","id":26845549,"diff_hunk":"@@ -23,6 +23,7 @@ def create\n \n     def destroy\n       Media.find(params[:id]).destroy\n+      render json: {message: 'destroy success'}","path":"app/controllers/mediadrawer/media_controller.rb","position":4,"original_position":4,"commit_id":"152c931a986d506c727098f7a2b612447bdef4f6","original_commit_id":"152c931a986d506c727098f7a2b612447bdef4f6","user":{"login":"mpivaa","id":2096216,"avatar_url":"https://avatars.githubusercontent.com/u/2096216?v=3","gravatar_id":"","url":"https://api.github.com/users/mpivaa","html_url":"https://github.com/mpivaa","followers_url":"https://api.github.com/users/mpivaa/followers","following_url":"https://api.github.com/users/mpivaa/following{/other_user}","gists_url":"https://api.github.com/users/mpivaa/gists{/gist_id}","starred_url":"https://api.github.com/users/mpivaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpivaa/subscriptions","organizations_url":"https://api.github.com/users/mpivaa/orgs","repos_url":"https://api.github.com/users/mpivaa/repos","events_url":"https://api.github.com/users/mpivaa/events{/privacy}","received_events_url":"https://api.github.com/users/mpivaa/received_events","type":"User","site_admin":false},"body":"head 200","created_at":"2015-03-20T14:56:13Z","updated_at":"2015-03-20T14:56:13Z","html_url":"https://github.com/tracersoft/mediadrawer-rails/pull/1#discussion_r26845549","pull_request_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/comments/26845549"},"html":{"href":"https://github.com/tracersoft/mediadrawer-rails/pull/1#discussion_r26845549"},"pull_request":{"href":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/1","id":31585232,"html_url":"https://github.com/tracersoft/mediadrawer-rails/pull/1","diff_url":"https://github.com/tracersoft/mediadrawer-rails/pull/1.diff","patch_url":"https://github.com/tracersoft/mediadrawer-rails/pull/1.patch","issue_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues/1","number":1,"state":"open","locked":false,"title":"alphabetical ordenation,  folders and medias deletion actions","user":{"login":"max2320","id":1142822,"avatar_url":"https://avatars.githubusercontent.com/u/1142822?v=3","gravatar_id":"","url":"https://api.github.com/users/max2320","html_url":"https://github.com/max2320","followers_url":"https://api.github.com/users/max2320/followers","following_url":"https://api.github.com/users/max2320/following{/other_user}","gists_url":"https://api.github.com/users/max2320/gists{/gist_id}","starred_url":"https://api.github.com/users/max2320/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max2320/subscriptions","organizations_url":"https://api.github.com/users/max2320/orgs","repos_url":"https://api.github.com/users/max2320/repos","events_url":"https://api.github.com/users/max2320/events{/privacy}","received_events_url":"https://api.github.com/users/max2320/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-20T03:10:50Z","updated_at":"2015-03-20T14:56:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56edf7a8d34a83f359e7af9dd476cd9ed4079105","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues/1/comments","statuses_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/statuses/152c931a986d506c727098f7a2b612447bdef4f6","head":{"label":"tracersoft:chore/ordenation-deletion-filter-corrections","ref":"chore/ordenation-deletion-filter-corrections","sha":"152c931a986d506c727098f7a2b612447bdef4f6","user":{"login":"tracersoft","id":10050560,"avatar_url":"https://avatars.githubusercontent.com/u/10050560?v=3","gravatar_id":"","url":"https://api.github.com/users/tracersoft","html_url":"https://github.com/tracersoft","followers_url":"https://api.github.com/users/tracersoft/followers","following_url":"https://api.github.com/users/tracersoft/following{/other_user}","gists_url":"https://api.github.com/users/tracersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tracersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracersoft/subscriptions","organizations_url":"https://api.github.com/users/tracersoft/orgs","repos_url":"https://api.github.com/users/tracersoft/repos","events_url":"https://api.github.com/users/tracersoft/events{/privacy}","received_events_url":"https://api.github.com/users/tracersoft/received_events","type":"Organization","site_admin":false},"repo":{"id":23714609,"name":"mediadrawer-rails","full_name":"tracersoft/mediadrawer-rails","owner":{"login":"tracersoft","id":10050560,"avatar_url":"https://avatars.githubusercontent.com/u/10050560?v=3","gravatar_id":"","url":"https://api.github.com/users/tracersoft","html_url":"https://github.com/tracersoft","followers_url":"https://api.github.com/users/tracersoft/followers","following_url":"https://api.github.com/users/tracersoft/following{/other_user}","gists_url":"https://api.github.com/users/tracersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tracersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracersoft/subscriptions","organizations_url":"https://api.github.com/users/tracersoft/orgs","repos_url":"https://api.github.com/users/tracersoft/repos","events_url":"https://api.github.com/users/tracersoft/events{/privacy}","received_events_url":"https://api.github.com/users/tracersoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tracersoft/mediadrawer-rails","description":"","fork":false,"url":"https://api.github.com/repos/tracersoft/mediadrawer-rails","forks_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/forks","keys_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/teams","hooks_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/hooks","issue_events_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues/events{/number}","events_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/events","assignees_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/assignees{/user}","branches_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/branches{/branch}","tags_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/tags","blobs_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/languages","stargazers_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/stargazers","contributors_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/contributors","subscribers_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/subscribers","subscription_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/subscription","commits_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/contents/{+path}","compare_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/merges","archive_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/downloads","issues_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues{/number}","pulls_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/labels{/name}","releases_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/releases{/id}","created_at":"2014-09-05T18:53:39Z","updated_at":"2015-02-27T19:53:21Z","pushed_at":"2015-03-20T14:31:00Z","git_url":"git://github.com/tracersoft/mediadrawer-rails.git","ssh_url":"git@github.com:tracersoft/mediadrawer-rails.git","clone_url":"https://github.com/tracersoft/mediadrawer-rails.git","svn_url":"https://github.com/tracersoft/mediadrawer-rails","homepage":null,"size":446,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"tracersoft:master","ref":"master","sha":"eed1d052caaffa6dfcf28bf1f8b3587cf45f5c14","user":{"login":"tracersoft","id":10050560,"avatar_url":"https://avatars.githubusercontent.com/u/10050560?v=3","gravatar_id":"","url":"https://api.github.com/users/tracersoft","html_url":"https://github.com/tracersoft","followers_url":"https://api.github.com/users/tracersoft/followers","following_url":"https://api.github.com/users/tracersoft/following{/other_user}","gists_url":"https://api.github.com/users/tracersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tracersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracersoft/subscriptions","organizations_url":"https://api.github.com/users/tracersoft/orgs","repos_url":"https://api.github.com/users/tracersoft/repos","events_url":"https://api.github.com/users/tracersoft/events{/privacy}","received_events_url":"https://api.github.com/users/tracersoft/received_events","type":"Organization","site_admin":false},"repo":{"id":23714609,"name":"mediadrawer-rails","full_name":"tracersoft/mediadrawer-rails","owner":{"login":"tracersoft","id":10050560,"avatar_url":"https://avatars.githubusercontent.com/u/10050560?v=3","gravatar_id":"","url":"https://api.github.com/users/tracersoft","html_url":"https://github.com/tracersoft","followers_url":"https://api.github.com/users/tracersoft/followers","following_url":"https://api.github.com/users/tracersoft/following{/other_user}","gists_url":"https://api.github.com/users/tracersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tracersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracersoft/subscriptions","organizations_url":"https://api.github.com/users/tracersoft/orgs","repos_url":"https://api.github.com/users/tracersoft/repos","events_url":"https://api.github.com/users/tracersoft/events{/privacy}","received_events_url":"https://api.github.com/users/tracersoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tracersoft/mediadrawer-rails","description":"","fork":false,"url":"https://api.github.com/repos/tracersoft/mediadrawer-rails","forks_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/forks","keys_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/teams","hooks_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/hooks","issue_events_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues/events{/number}","events_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/events","assignees_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/assignees{/user}","branches_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/branches{/branch}","tags_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/tags","blobs_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/languages","stargazers_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/stargazers","contributors_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/contributors","subscribers_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/subscribers","subscription_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/subscription","commits_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/contents/{+path}","compare_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/merges","archive_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/downloads","issues_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues{/number}","pulls_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/labels{/name}","releases_url":"https://api.github.com/repos/tracersoft/mediadrawer-rails/releases{/id}","created_at":"2014-09-05T18:53:39Z","updated_at":"2015-02-27T19:53:21Z","pushed_at":"2015-03-20T14:31:00Z","git_url":"git://github.com/tracersoft/mediadrawer-rails.git","ssh_url":"git@github.com:tracersoft/mediadrawer-rails.git","clone_url":"https://github.com/tracersoft/mediadrawer-rails.git","svn_url":"https://github.com/tracersoft/mediadrawer-rails","homepage":null,"size":446,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/1"},"html":{"href":"https://github.com/tracersoft/mediadrawer-rails/pull/1"},"issue":{"href":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues/1"},"comments":{"href":"https://api.github.com/repos/tracersoft/mediadrawer-rails/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tracersoft/mediadrawer-rails/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tracersoft/mediadrawer-rails/statuses/152c931a986d506c727098f7a2b612447bdef4f6"}}}}