{"action":"created","comment":{"url":"https://api.github.com/repos/vaporware/parkland/pulls/comments/38879323","id":38879323,"diff_hunk":"@@ -0,0 +1,26 @@\n+class ResourceCollectionsController < ApplicationController\n+  before_action :set_resource_collection, only: [:update]\n+  authorize_resource\n+  \n+  # PUT/PATCH /resource_collections/1/update\n+  def update\n+    respond_to do |format|\n+      if @resource_collection.update(resource_collection_params)\n+        format.js\n+      else\n+        format.js\n+      end\n+    end\n+  end\n+\n+  private","path":"app/controllers/resource_collections_controller.rb","position":16,"original_position":16,"commit_id":"aefbdd900e08e7c2eca793f707c56c30ea8e870c","original_commit_id":"aefbdd900e08e7c2eca793f707c56c30ea8e870c","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Keep a blank line before and after `private`.","created_at":"2015-09-07T20:47:59Z","updated_at":"2015-09-07T20:47:59Z","html_url":"https://github.com/vaporware/parkland/pull/24#discussion_r38879323","pull_request_url":"https://api.github.com/repos/vaporware/parkland/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/vaporware/parkland/pulls/comments/38879323"},"html":{"href":"https://github.com/vaporware/parkland/pull/24#discussion_r38879323"},"pull_request":{"href":"https://api.github.com/repos/vaporware/parkland/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/vaporware/parkland/pulls/24","id":44378649,"html_url":"https://github.com/vaporware/parkland/pull/24","diff_url":"https://github.com/vaporware/parkland/pull/24.diff","patch_url":"https://github.com/vaporware/parkland/pull/24.patch","issue_url":"https://api.github.com/repos/vaporware/parkland/issues/24","number":24,"state":"open","locked":false,"title":"ResourceCollection Descriptions","user":{"login":"toobulkeh","id":1342064,"avatar_url":"https://avatars.githubusercontent.com/u/1342064?v=3","gravatar_id":"","url":"https://api.github.com/users/toobulkeh","html_url":"https://github.com/toobulkeh","followers_url":"https://api.github.com/users/toobulkeh/followers","following_url":"https://api.github.com/users/toobulkeh/following{/other_user}","gists_url":"https://api.github.com/users/toobulkeh/gists{/gist_id}","starred_url":"https://api.github.com/users/toobulkeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toobulkeh/subscriptions","organizations_url":"https://api.github.com/users/toobulkeh/orgs","repos_url":"https://api.github.com/users/toobulkeh/repos","events_url":"https://api.github.com/users/toobulkeh/events{/privacy}","received_events_url":"https://api.github.com/users/toobulkeh/received_events","type":"User","site_admin":false},"body":"They need UX work, but this pull also fixes some all pages broken for logged out users","created_at":"2015-09-07T20:47:53Z","updated_at":"2015-09-07T20:48:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc137a1a528c57d7f0185973582ccef762396b24","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vaporware/parkland/pulls/24/commits","review_comments_url":"https://api.github.com/repos/vaporware/parkland/pulls/24/comments","review_comment_url":"https://api.github.com/repos/vaporware/parkland/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vaporware/parkland/issues/24/comments","statuses_url":"https://api.github.com/repos/vaporware/parkland/statuses/aefbdd900e08e7c2eca793f707c56c30ea8e870c","head":{"label":"vaporware:feature/rc-descriptions","ref":"feature/rc-descriptions","sha":"aefbdd900e08e7c2eca793f707c56c30ea8e870c","user":{"login":"vaporware","id":3473367,"avatar_url":"https://avatars.githubusercontent.com/u/3473367?v=3","gravatar_id":"","url":"https://api.github.com/users/vaporware","html_url":"https://github.com/vaporware","followers_url":"https://api.github.com/users/vaporware/followers","following_url":"https://api.github.com/users/vaporware/following{/other_user}","gists_url":"https://api.github.com/users/vaporware/gists{/gist_id}","starred_url":"https://api.github.com/users/vaporware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaporware/subscriptions","organizations_url":"https://api.github.com/users/vaporware/orgs","repos_url":"https://api.github.com/users/vaporware/repos","events_url":"https://api.github.com/users/vaporware/events{/privacy}","received_events_url":"https://api.github.com/users/vaporware/received_events","type":"Organization","site_admin":false},"repo":{"id":37954674,"name":"parkland","full_name":"vaporware/parkland","owner":{"login":"vaporware","id":3473367,"avatar_url":"https://avatars.githubusercontent.com/u/3473367?v=3","gravatar_id":"","url":"https://api.github.com/users/vaporware","html_url":"https://github.com/vaporware","followers_url":"https://api.github.com/users/vaporware/followers","following_url":"https://api.github.com/users/vaporware/following{/other_user}","gists_url":"https://api.github.com/users/vaporware/gists{/gist_id}","starred_url":"https://api.github.com/users/vaporware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaporware/subscriptions","organizations_url":"https://api.github.com/users/vaporware/orgs","repos_url":"https://api.github.com/users/vaporware/repos","events_url":"https://api.github.com/users/vaporware/events{/privacy}","received_events_url":"https://api.github.com/users/vaporware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vaporware/parkland","description":"The Resource Hub of the Triangle","fork":false,"url":"https://api.github.com/repos/vaporware/parkland","forks_url":"https://api.github.com/repos/vaporware/parkland/forks","keys_url":"https://api.github.com/repos/vaporware/parkland/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vaporware/parkland/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vaporware/parkland/teams","hooks_url":"https://api.github.com/repos/vaporware/parkland/hooks","issue_events_url":"https://api.github.com/repos/vaporware/parkland/issues/events{/number}","events_url":"https://api.github.com/repos/vaporware/parkland/events","assignees_url":"https://api.github.com/repos/vaporware/parkland/assignees{/user}","branches_url":"https://api.github.com/repos/vaporware/parkland/branches{/branch}","tags_url":"https://api.github.com/repos/vaporware/parkland/tags","blobs_url":"https://api.github.com/repos/vaporware/parkland/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vaporware/parkland/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vaporware/parkland/git/refs{/sha}","trees_url":"https://api.github.com/repos/vaporware/parkland/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vaporware/parkland/statuses/{sha}","languages_url":"https://api.github.com/repos/vaporware/parkland/languages","stargazers_url":"https://api.github.com/repos/vaporware/parkland/stargazers","contributors_url":"https://api.github.com/repos/vaporware/parkland/contributors","subscribers_url":"https://api.github.com/repos/vaporware/parkland/subscribers","subscription_url":"https://api.github.com/repos/vaporware/parkland/subscription","commits_url":"https://api.github.com/repos/vaporware/parkland/commits{/sha}","git_commits_url":"https://api.github.com/repos/vaporware/parkland/git/commits{/sha}","comments_url":"https://api.github.com/repos/vaporware/parkland/comments{/number}","issue_comment_url":"https://api.github.com/repos/vaporware/parkland/issues/comments{/number}","contents_url":"https://api.github.com/repos/vaporware/parkland/contents/{+path}","compare_url":"https://api.github.com/repos/vaporware/parkland/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vaporware/parkland/merges","archive_url":"https://api.github.com/repos/vaporware/parkland/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vaporware/parkland/downloads","issues_url":"https://api.github.com/repos/vaporware/parkland/issues{/number}","pulls_url":"https://api.github.com/repos/vaporware/parkland/pulls{/number}","milestones_url":"https://api.github.com/repos/vaporware/parkland/milestones{/number}","notifications_url":"https://api.github.com/repos/vaporware/parkland/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vaporware/parkland/labels{/name}","releases_url":"https://api.github.com/repos/vaporware/parkland/releases{/id}","created_at":"2015-06-24T01:25:24Z","updated_at":"2015-07-20T01:31:41Z","pushed_at":"2015-09-07T20:47:54Z","git_url":"git://github.com/vaporware/parkland.git","ssh_url":"git@github.com:vaporware/parkland.git","clone_url":"https://github.com/vaporware/parkland.git","svn_url":"https://github.com/vaporware/parkland","homepage":null,"size":428,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":16,"forks":6,"open_issues":16,"watchers":2,"default_branch":"master"}},"base":{"label":"vaporware:master","ref":"master","sha":"4470f40e3dc59d841436b3379a0e62e5a7b5e5d7","user":{"login":"vaporware","id":3473367,"avatar_url":"https://avatars.githubusercontent.com/u/3473367?v=3","gravatar_id":"","url":"https://api.github.com/users/vaporware","html_url":"https://github.com/vaporware","followers_url":"https://api.github.com/users/vaporware/followers","following_url":"https://api.github.com/users/vaporware/following{/other_user}","gists_url":"https://api.github.com/users/vaporware/gists{/gist_id}","starred_url":"https://api.github.com/users/vaporware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaporware/subscriptions","organizations_url":"https://api.github.com/users/vaporware/orgs","repos_url":"https://api.github.com/users/vaporware/repos","events_url":"https://api.github.com/users/vaporware/events{/privacy}","received_events_url":"https://api.github.com/users/vaporware/received_events","type":"Organization","site_admin":false},"repo":{"id":37954674,"name":"parkland","full_name":"vaporware/parkland","owner":{"login":"vaporware","id":3473367,"avatar_url":"https://avatars.githubusercontent.com/u/3473367?v=3","gravatar_id":"","url":"https://api.github.com/users/vaporware","html_url":"https://github.com/vaporware","followers_url":"https://api.github.com/users/vaporware/followers","following_url":"https://api.github.com/users/vaporware/following{/other_user}","gists_url":"https://api.github.com/users/vaporware/gists{/gist_id}","starred_url":"https://api.github.com/users/vaporware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaporware/subscriptions","organizations_url":"https://api.github.com/users/vaporware/orgs","repos_url":"https://api.github.com/users/vaporware/repos","events_url":"https://api.github.com/users/vaporware/events{/privacy}","received_events_url":"https://api.github.com/users/vaporware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vaporware/parkland","description":"The Resource Hub of the Triangle","fork":false,"url":"https://api.github.com/repos/vaporware/parkland","forks_url":"https://api.github.com/repos/vaporware/parkland/forks","keys_url":"https://api.github.com/repos/vaporware/parkland/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vaporware/parkland/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vaporware/parkland/teams","hooks_url":"https://api.github.com/repos/vaporware/parkland/hooks","issue_events_url":"https://api.github.com/repos/vaporware/parkland/issues/events{/number}","events_url":"https://api.github.com/repos/vaporware/parkland/events","assignees_url":"https://api.github.com/repos/vaporware/parkland/assignees{/user}","branches_url":"https://api.github.com/repos/vaporware/parkland/branches{/branch}","tags_url":"https://api.github.com/repos/vaporware/parkland/tags","blobs_url":"https://api.github.com/repos/vaporware/parkland/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vaporware/parkland/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vaporware/parkland/git/refs{/sha}","trees_url":"https://api.github.com/repos/vaporware/parkland/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vaporware/parkland/statuses/{sha}","languages_url":"https://api.github.com/repos/vaporware/parkland/languages","stargazers_url":"https://api.github.com/repos/vaporware/parkland/stargazers","contributors_url":"https://api.github.com/repos/vaporware/parkland/contributors","subscribers_url":"https://api.github.com/repos/vaporware/parkland/subscribers","subscription_url":"https://api.github.com/repos/vaporware/parkland/subscription","commits_url":"https://api.github.com/repos/vaporware/parkland/commits{/sha}","git_commits_url":"https://api.github.com/repos/vaporware/parkland/git/commits{/sha}","comments_url":"https://api.github.com/repos/vaporware/parkland/comments{/number}","issue_comment_url":"https://api.github.com/repos/vaporware/parkland/issues/comments{/number}","contents_url":"https://api.github.com/repos/vaporware/parkland/contents/{+path}","compare_url":"https://api.github.com/repos/vaporware/parkland/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vaporware/parkland/merges","archive_url":"https://api.github.com/repos/vaporware/parkland/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vaporware/parkland/downloads","issues_url":"https://api.github.com/repos/vaporware/parkland/issues{/number}","pulls_url":"https://api.github.com/repos/vaporware/parkland/pulls{/number}","milestones_url":"https://api.github.com/repos/vaporware/parkland/milestones{/number}","notifications_url":"https://api.github.com/repos/vaporware/parkland/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vaporware/parkland/labels{/name}","releases_url":"https://api.github.com/repos/vaporware/parkland/releases{/id}","created_at":"2015-06-24T01:25:24Z","updated_at":"2015-07-20T01:31:41Z","pushed_at":"2015-09-07T20:47:54Z","git_url":"git://github.com/vaporware/parkland.git","ssh_url":"git@github.com:vaporware/parkland.git","clone_url":"https://github.com/vaporware/parkland.git","svn_url":"https://github.com/vaporware/parkland","homepage":null,"size":428,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":16,"forks":6,"open_issues":16,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vaporware/parkland/pulls/24"},"html":{"href":"https://github.com/vaporware/parkland/pull/24"},"issue":{"href":"https://api.github.com/repos/vaporware/parkland/issues/24"},"comments":{"href":"https://api.github.com/repos/vaporware/parkland/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/vaporware/parkland/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/vaporware/parkland/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vaporware/parkland/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/vaporware/parkland/statuses/aefbdd900e08e7c2eca793f707c56c30ea8e870c"}}}}