{"action":"created","comment":{"url":"https://api.github.com/repos/DuncanRose/CookR/pulls/comments/28533998","id":28533998,"diff_hunk":"@@ -1,5 +1,11 @@\n class ApplicationController < ActionController::Base\n+  before_action :configure_permitted_parameters, if: :devise_controller?\n   # Prevent CSRF attacks by raising an exception.\n   # For APIs, you may want to use :null_session instead.\n   protect_from_forgery with: :exception\n+  protected","path":"app/controllers/application_controller.rb","position":6,"original_position":6,"commit_id":"d3312c5406be54e5389def63eb741b937fc0d0e0","original_commit_id":"d3312c5406be54e5389def63eb741b937fc0d0e0","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 `protected`.","created_at":"2015-04-16T18:00:06Z","updated_at":"2015-04-16T18:00:06Z","html_url":"https://github.com/DuncanRose/CookR/pull/3#discussion_r28533998","pull_request_url":"https://api.github.com/repos/DuncanRose/CookR/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/DuncanRose/CookR/pulls/comments/28533998"},"html":{"href":"https://github.com/DuncanRose/CookR/pull/3#discussion_r28533998"},"pull_request":{"href":"https://api.github.com/repos/DuncanRose/CookR/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/DuncanRose/CookR/pulls/3","id":33476471,"html_url":"https://github.com/DuncanRose/CookR/pull/3","diff_url":"https://github.com/DuncanRose/CookR/pull/3.diff","patch_url":"https://github.com/DuncanRose/CookR/pull/3.patch","issue_url":"https://api.github.com/repos/DuncanRose/CookR/issues/3","number":3,"state":"open","locked":false,"title":"Carrier Wave online with test pass","user":{"login":"DuncanRose","id":9580892,"avatar_url":"https://avatars.githubusercontent.com/u/9580892?v=3","gravatar_id":"","url":"https://api.github.com/users/DuncanRose","html_url":"https://github.com/DuncanRose","followers_url":"https://api.github.com/users/DuncanRose/followers","following_url":"https://api.github.com/users/DuncanRose/following{/other_user}","gists_url":"https://api.github.com/users/DuncanRose/gists{/gist_id}","starred_url":"https://api.github.com/users/DuncanRose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DuncanRose/subscriptions","organizations_url":"https://api.github.com/users/DuncanRose/orgs","repos_url":"https://api.github.com/users/DuncanRose/repos","events_url":"https://api.github.com/users/DuncanRose/events{/privacy}","received_events_url":"https://api.github.com/users/DuncanRose/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-16T17:59:55Z","updated_at":"2015-04-16T18:00:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58b0ccf44b1dd1550ce1c6a5a4a18b1444d54832","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DuncanRose/CookR/pulls/3/commits","review_comments_url":"https://api.github.com/repos/DuncanRose/CookR/pulls/3/comments","review_comment_url":"https://api.github.com/repos/DuncanRose/CookR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DuncanRose/CookR/issues/3/comments","statuses_url":"https://api.github.com/repos/DuncanRose/CookR/statuses/d3312c5406be54e5389def63eb741b937fc0d0e0","head":{"label":"DuncanRose:photo_upload","ref":"photo_upload","sha":"d3312c5406be54e5389def63eb741b937fc0d0e0","user":{"login":"DuncanRose","id":9580892,"avatar_url":"https://avatars.githubusercontent.com/u/9580892?v=3","gravatar_id":"","url":"https://api.github.com/users/DuncanRose","html_url":"https://github.com/DuncanRose","followers_url":"https://api.github.com/users/DuncanRose/followers","following_url":"https://api.github.com/users/DuncanRose/following{/other_user}","gists_url":"https://api.github.com/users/DuncanRose/gists{/gist_id}","starred_url":"https://api.github.com/users/DuncanRose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DuncanRose/subscriptions","organizations_url":"https://api.github.com/users/DuncanRose/orgs","repos_url":"https://api.github.com/users/DuncanRose/repos","events_url":"https://api.github.com/users/DuncanRose/events{/privacy}","received_events_url":"https://api.github.com/users/DuncanRose/received_events","type":"User","site_admin":false},"repo":{"id":33939910,"name":"CookR","full_name":"DuncanRose/CookR","owner":{"login":"DuncanRose","id":9580892,"avatar_url":"https://avatars.githubusercontent.com/u/9580892?v=3","gravatar_id":"","url":"https://api.github.com/users/DuncanRose","html_url":"https://github.com/DuncanRose","followers_url":"https://api.github.com/users/DuncanRose/followers","following_url":"https://api.github.com/users/DuncanRose/following{/other_user}","gists_url":"https://api.github.com/users/DuncanRose/gists{/gist_id}","starred_url":"https://api.github.com/users/DuncanRose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DuncanRose/subscriptions","organizations_url":"https://api.github.com/users/DuncanRose/orgs","repos_url":"https://api.github.com/users/DuncanRose/repos","events_url":"https://api.github.com/users/DuncanRose/events{/privacy}","received_events_url":"https://api.github.com/users/DuncanRose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DuncanRose/CookR","description":"CookR","fork":false,"url":"https://api.github.com/repos/DuncanRose/CookR","forks_url":"https://api.github.com/repos/DuncanRose/CookR/forks","keys_url":"https://api.github.com/repos/DuncanRose/CookR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DuncanRose/CookR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DuncanRose/CookR/teams","hooks_url":"https://api.github.com/repos/DuncanRose/CookR/hooks","issue_events_url":"https://api.github.com/repos/DuncanRose/CookR/issues/events{/number}","events_url":"https://api.github.com/repos/DuncanRose/CookR/events","assignees_url":"https://api.github.com/repos/DuncanRose/CookR/assignees{/user}","branches_url":"https://api.github.com/repos/DuncanRose/CookR/branches{/branch}","tags_url":"https://api.github.com/repos/DuncanRose/CookR/tags","blobs_url":"https://api.github.com/repos/DuncanRose/CookR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DuncanRose/CookR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DuncanRose/CookR/git/refs{/sha}","trees_url":"https://api.github.com/repos/DuncanRose/CookR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DuncanRose/CookR/statuses/{sha}","languages_url":"https://api.github.com/repos/DuncanRose/CookR/languages","stargazers_url":"https://api.github.com/repos/DuncanRose/CookR/stargazers","contributors_url":"https://api.github.com/repos/DuncanRose/CookR/contributors","subscribers_url":"https://api.github.com/repos/DuncanRose/CookR/subscribers","subscription_url":"https://api.github.com/repos/DuncanRose/CookR/subscription","commits_url":"https://api.github.com/repos/DuncanRose/CookR/commits{/sha}","git_commits_url":"https://api.github.com/repos/DuncanRose/CookR/git/commits{/sha}","comments_url":"https://api.github.com/repos/DuncanRose/CookR/comments{/number}","issue_comment_url":"https://api.github.com/repos/DuncanRose/CookR/issues/comments{/number}","contents_url":"https://api.github.com/repos/DuncanRose/CookR/contents/{+path}","compare_url":"https://api.github.com/repos/DuncanRose/CookR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DuncanRose/CookR/merges","archive_url":"https://api.github.com/repos/DuncanRose/CookR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DuncanRose/CookR/downloads","issues_url":"https://api.github.com/repos/DuncanRose/CookR/issues{/number}","pulls_url":"https://api.github.com/repos/DuncanRose/CookR/pulls{/number}","milestones_url":"https://api.github.com/repos/DuncanRose/CookR/milestones{/number}","notifications_url":"https://api.github.com/repos/DuncanRose/CookR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DuncanRose/CookR/labels{/name}","releases_url":"https://api.github.com/repos/DuncanRose/CookR/releases{/id}","created_at":"2015-04-14T15:25:00Z","updated_at":"2015-04-16T15:58:48Z","pushed_at":"2015-04-16T17:59:55Z","git_url":"git://github.com/DuncanRose/CookR.git","ssh_url":"git@github.com:DuncanRose/CookR.git","clone_url":"https://github.com/DuncanRose/CookR.git","svn_url":"https://github.com/DuncanRose/CookR","homepage":null,"size":0,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"DuncanRose:master","ref":"master","sha":"97cb9596e98d346b4724440f9cf6e88fb86d1213","user":{"login":"DuncanRose","id":9580892,"avatar_url":"https://avatars.githubusercontent.com/u/9580892?v=3","gravatar_id":"","url":"https://api.github.com/users/DuncanRose","html_url":"https://github.com/DuncanRose","followers_url":"https://api.github.com/users/DuncanRose/followers","following_url":"https://api.github.com/users/DuncanRose/following{/other_user}","gists_url":"https://api.github.com/users/DuncanRose/gists{/gist_id}","starred_url":"https://api.github.com/users/DuncanRose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DuncanRose/subscriptions","organizations_url":"https://api.github.com/users/DuncanRose/orgs","repos_url":"https://api.github.com/users/DuncanRose/repos","events_url":"https://api.github.com/users/DuncanRose/events{/privacy}","received_events_url":"https://api.github.com/users/DuncanRose/received_events","type":"User","site_admin":false},"repo":{"id":33939910,"name":"CookR","full_name":"DuncanRose/CookR","owner":{"login":"DuncanRose","id":9580892,"avatar_url":"https://avatars.githubusercontent.com/u/9580892?v=3","gravatar_id":"","url":"https://api.github.com/users/DuncanRose","html_url":"https://github.com/DuncanRose","followers_url":"https://api.github.com/users/DuncanRose/followers","following_url":"https://api.github.com/users/DuncanRose/following{/other_user}","gists_url":"https://api.github.com/users/DuncanRose/gists{/gist_id}","starred_url":"https://api.github.com/users/DuncanRose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DuncanRose/subscriptions","organizations_url":"https://api.github.com/users/DuncanRose/orgs","repos_url":"https://api.github.com/users/DuncanRose/repos","events_url":"https://api.github.com/users/DuncanRose/events{/privacy}","received_events_url":"https://api.github.com/users/DuncanRose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DuncanRose/CookR","description":"CookR","fork":false,"url":"https://api.github.com/repos/DuncanRose/CookR","forks_url":"https://api.github.com/repos/DuncanRose/CookR/forks","keys_url":"https://api.github.com/repos/DuncanRose/CookR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DuncanRose/CookR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DuncanRose/CookR/teams","hooks_url":"https://api.github.com/repos/DuncanRose/CookR/hooks","issue_events_url":"https://api.github.com/repos/DuncanRose/CookR/issues/events{/number}","events_url":"https://api.github.com/repos/DuncanRose/CookR/events","assignees_url":"https://api.github.com/repos/DuncanRose/CookR/assignees{/user}","branches_url":"https://api.github.com/repos/DuncanRose/CookR/branches{/branch}","tags_url":"https://api.github.com/repos/DuncanRose/CookR/tags","blobs_url":"https://api.github.com/repos/DuncanRose/CookR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DuncanRose/CookR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DuncanRose/CookR/git/refs{/sha}","trees_url":"https://api.github.com/repos/DuncanRose/CookR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DuncanRose/CookR/statuses/{sha}","languages_url":"https://api.github.com/repos/DuncanRose/CookR/languages","stargazers_url":"https://api.github.com/repos/DuncanRose/CookR/stargazers","contributors_url":"https://api.github.com/repos/DuncanRose/CookR/contributors","subscribers_url":"https://api.github.com/repos/DuncanRose/CookR/subscribers","subscription_url":"https://api.github.com/repos/DuncanRose/CookR/subscription","commits_url":"https://api.github.com/repos/DuncanRose/CookR/commits{/sha}","git_commits_url":"https://api.github.com/repos/DuncanRose/CookR/git/commits{/sha}","comments_url":"https://api.github.com/repos/DuncanRose/CookR/comments{/number}","issue_comment_url":"https://api.github.com/repos/DuncanRose/CookR/issues/comments{/number}","contents_url":"https://api.github.com/repos/DuncanRose/CookR/contents/{+path}","compare_url":"https://api.github.com/repos/DuncanRose/CookR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DuncanRose/CookR/merges","archive_url":"https://api.github.com/repos/DuncanRose/CookR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DuncanRose/CookR/downloads","issues_url":"https://api.github.com/repos/DuncanRose/CookR/issues{/number}","pulls_url":"https://api.github.com/repos/DuncanRose/CookR/pulls{/number}","milestones_url":"https://api.github.com/repos/DuncanRose/CookR/milestones{/number}","notifications_url":"https://api.github.com/repos/DuncanRose/CookR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DuncanRose/CookR/labels{/name}","releases_url":"https://api.github.com/repos/DuncanRose/CookR/releases{/id}","created_at":"2015-04-14T15:25:00Z","updated_at":"2015-04-16T15:58:48Z","pushed_at":"2015-04-16T17:59:55Z","git_url":"git://github.com/DuncanRose/CookR.git","ssh_url":"git@github.com:DuncanRose/CookR.git","clone_url":"https://github.com/DuncanRose/CookR.git","svn_url":"https://github.com/DuncanRose/CookR","homepage":null,"size":0,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DuncanRose/CookR/pulls/3"},"html":{"href":"https://github.com/DuncanRose/CookR/pull/3"},"issue":{"href":"https://api.github.com/repos/DuncanRose/CookR/issues/3"},"comments":{"href":"https://api.github.com/repos/DuncanRose/CookR/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/DuncanRose/CookR/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/DuncanRose/CookR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DuncanRose/CookR/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/DuncanRose/CookR/statuses/d3312c5406be54e5389def63eb741b937fc0d0e0"}}}}