{"action":"created","comment":{"url":"https://api.github.com/repos/Ciabas/PierogApple/pulls/comments/33039972","id":33039972,"diff_hunk":"@@ -0,0 +1,39 @@\n+class ProfilesController < ApplicationController\n+\n+  def show\n+    @profile = Profile.find(params[:id])\n+  end\n+\n+  def new\n+    @profile = Profile.new\n+  end\n+\n+  def create\n+    @user = current_user","path":"app/controllers/profiles_controller.rb","position":12,"original_position":12,"commit_id":"362aebfc087dd42d6c3c3d37136f610d07b762d6","original_commit_id":"362aebfc087dd42d6c3c3d37136f610d07b762d6","user":{"login":"hirokiraj","id":1582486,"avatar_url":"https://avatars.githubusercontent.com/u/1582486?v=3","gravatar_id":"","url":"https://api.github.com/users/hirokiraj","html_url":"https://github.com/hirokiraj","followers_url":"https://api.github.com/users/hirokiraj/followers","following_url":"https://api.github.com/users/hirokiraj/following{/other_user}","gists_url":"https://api.github.com/users/hirokiraj/gists{/gist_id}","starred_url":"https://api.github.com/users/hirokiraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hirokiraj/subscriptions","organizations_url":"https://api.github.com/users/hirokiraj/orgs","repos_url":"https://api.github.com/users/hirokiraj/repos","events_url":"https://api.github.com/users/hirokiraj/events{/privacy}","received_events_url":"https://api.github.com/users/hirokiraj/received_events","type":"User","site_admin":false},"body":"skad pewnosc ze current_user istnieje, moze before_action zalozyc?","created_at":"2015-06-23T13:28:24Z","updated_at":"2015-06-23T13:28:24Z","html_url":"https://github.com/Ciabas/PierogApple/pull/1#discussion_r33039972","pull_request_url":"https://api.github.com/repos/Ciabas/PierogApple/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Ciabas/PierogApple/pulls/comments/33039972"},"html":{"href":"https://github.com/Ciabas/PierogApple/pull/1#discussion_r33039972"},"pull_request":{"href":"https://api.github.com/repos/Ciabas/PierogApple/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Ciabas/PierogApple/pulls/1","id":38315728,"html_url":"https://github.com/Ciabas/PierogApple/pull/1","diff_url":"https://github.com/Ciabas/PierogApple/pull/1.diff","patch_url":"https://github.com/Ciabas/PierogApple/pull/1.patch","issue_url":"https://api.github.com/repos/Ciabas/PierogApple/issues/1","number":1,"state":"open","locked":false,"title":"Create devise","user":{"login":"dwoznicka","id":9791020,"avatar_url":"https://avatars.githubusercontent.com/u/9791020?v=3","gravatar_id":"","url":"https://api.github.com/users/dwoznicka","html_url":"https://github.com/dwoznicka","followers_url":"https://api.github.com/users/dwoznicka/followers","following_url":"https://api.github.com/users/dwoznicka/following{/other_user}","gists_url":"https://api.github.com/users/dwoznicka/gists{/gist_id}","starred_url":"https://api.github.com/users/dwoznicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwoznicka/subscriptions","organizations_url":"https://api.github.com/users/dwoznicka/orgs","repos_url":"https://api.github.com/users/dwoznicka/repos","events_url":"https://api.github.com/users/dwoznicka/events{/privacy}","received_events_url":"https://api.github.com/users/dwoznicka/received_events","type":"User","site_admin":false},"body":"konfiguracja mailera","created_at":"2015-06-23T09:15:41Z","updated_at":"2015-06-23T13:28:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ciabas/PierogApple/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Ciabas/PierogApple/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Ciabas/PierogApple/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ciabas/PierogApple/issues/1/comments","statuses_url":"https://api.github.com/repos/Ciabas/PierogApple/statuses/362aebfc087dd42d6c3c3d37136f610d07b762d6","head":{"label":"Ciabas:CreateDevise","ref":"CreateDevise","sha":"362aebfc087dd42d6c3c3d37136f610d07b762d6","user":{"login":"Ciabas","id":9249181,"avatar_url":"https://avatars.githubusercontent.com/u/9249181?v=3","gravatar_id":"","url":"https://api.github.com/users/Ciabas","html_url":"https://github.com/Ciabas","followers_url":"https://api.github.com/users/Ciabas/followers","following_url":"https://api.github.com/users/Ciabas/following{/other_user}","gists_url":"https://api.github.com/users/Ciabas/gists{/gist_id}","starred_url":"https://api.github.com/users/Ciabas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ciabas/subscriptions","organizations_url":"https://api.github.com/users/Ciabas/orgs","repos_url":"https://api.github.com/users/Ciabas/repos","events_url":"https://api.github.com/users/Ciabas/events{/privacy}","received_events_url":"https://api.github.com/users/Ciabas/received_events","type":"User","site_admin":false},"repo":{"id":37854726,"name":"PierogApple","full_name":"Ciabas/PierogApple","owner":{"login":"Ciabas","id":9249181,"avatar_url":"https://avatars.githubusercontent.com/u/9249181?v=3","gravatar_id":"","url":"https://api.github.com/users/Ciabas","html_url":"https://github.com/Ciabas","followers_url":"https://api.github.com/users/Ciabas/followers","following_url":"https://api.github.com/users/Ciabas/following{/other_user}","gists_url":"https://api.github.com/users/Ciabas/gists{/gist_id}","starred_url":"https://api.github.com/users/Ciabas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ciabas/subscriptions","organizations_url":"https://api.github.com/users/Ciabas/orgs","repos_url":"https://api.github.com/users/Ciabas/repos","events_url":"https://api.github.com/users/Ciabas/events{/privacy}","received_events_url":"https://api.github.com/users/Ciabas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ciabas/PierogApple","description":"","fork":false,"url":"https://api.github.com/repos/Ciabas/PierogApple","forks_url":"https://api.github.com/repos/Ciabas/PierogApple/forks","keys_url":"https://api.github.com/repos/Ciabas/PierogApple/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ciabas/PierogApple/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ciabas/PierogApple/teams","hooks_url":"https://api.github.com/repos/Ciabas/PierogApple/hooks","issue_events_url":"https://api.github.com/repos/Ciabas/PierogApple/issues/events{/number}","events_url":"https://api.github.com/repos/Ciabas/PierogApple/events","assignees_url":"https://api.github.com/repos/Ciabas/PierogApple/assignees{/user}","branches_url":"https://api.github.com/repos/Ciabas/PierogApple/branches{/branch}","tags_url":"https://api.github.com/repos/Ciabas/PierogApple/tags","blobs_url":"https://api.github.com/repos/Ciabas/PierogApple/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ciabas/PierogApple/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ciabas/PierogApple/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ciabas/PierogApple/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ciabas/PierogApple/statuses/{sha}","languages_url":"https://api.github.com/repos/Ciabas/PierogApple/languages","stargazers_url":"https://api.github.com/repos/Ciabas/PierogApple/stargazers","contributors_url":"https://api.github.com/repos/Ciabas/PierogApple/contributors","subscribers_url":"https://api.github.com/repos/Ciabas/PierogApple/subscribers","subscription_url":"https://api.github.com/repos/Ciabas/PierogApple/subscription","commits_url":"https://api.github.com/repos/Ciabas/PierogApple/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ciabas/PierogApple/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ciabas/PierogApple/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ciabas/PierogApple/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ciabas/PierogApple/contents/{+path}","compare_url":"https://api.github.com/repos/Ciabas/PierogApple/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ciabas/PierogApple/merges","archive_url":"https://api.github.com/repos/Ciabas/PierogApple/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ciabas/PierogApple/downloads","issues_url":"https://api.github.com/repos/Ciabas/PierogApple/issues{/number}","pulls_url":"https://api.github.com/repos/Ciabas/PierogApple/pulls{/number}","milestones_url":"https://api.github.com/repos/Ciabas/PierogApple/milestones{/number}","notifications_url":"https://api.github.com/repos/Ciabas/PierogApple/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ciabas/PierogApple/labels{/name}","releases_url":"https://api.github.com/repos/Ciabas/PierogApple/releases{/id}","created_at":"2015-06-22T12:45:55Z","updated_at":"2015-06-22T12:46:50Z","pushed_at":"2015-06-23T13:10:20Z","git_url":"git://github.com/Ciabas/PierogApple.git","ssh_url":"git@github.com:Ciabas/PierogApple.git","clone_url":"https://github.com/Ciabas/PierogApple.git","svn_url":"https://github.com/Ciabas/PierogApple","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":"Ciabas:master","ref":"master","sha":"296ff6b74568d701ce2ead43d73ff75ef0d2bf45","user":{"login":"Ciabas","id":9249181,"avatar_url":"https://avatars.githubusercontent.com/u/9249181?v=3","gravatar_id":"","url":"https://api.github.com/users/Ciabas","html_url":"https://github.com/Ciabas","followers_url":"https://api.github.com/users/Ciabas/followers","following_url":"https://api.github.com/users/Ciabas/following{/other_user}","gists_url":"https://api.github.com/users/Ciabas/gists{/gist_id}","starred_url":"https://api.github.com/users/Ciabas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ciabas/subscriptions","organizations_url":"https://api.github.com/users/Ciabas/orgs","repos_url":"https://api.github.com/users/Ciabas/repos","events_url":"https://api.github.com/users/Ciabas/events{/privacy}","received_events_url":"https://api.github.com/users/Ciabas/received_events","type":"User","site_admin":false},"repo":{"id":37854726,"name":"PierogApple","full_name":"Ciabas/PierogApple","owner":{"login":"Ciabas","id":9249181,"avatar_url":"https://avatars.githubusercontent.com/u/9249181?v=3","gravatar_id":"","url":"https://api.github.com/users/Ciabas","html_url":"https://github.com/Ciabas","followers_url":"https://api.github.com/users/Ciabas/followers","following_url":"https://api.github.com/users/Ciabas/following{/other_user}","gists_url":"https://api.github.com/users/Ciabas/gists{/gist_id}","starred_url":"https://api.github.com/users/Ciabas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ciabas/subscriptions","organizations_url":"https://api.github.com/users/Ciabas/orgs","repos_url":"https://api.github.com/users/Ciabas/repos","events_url":"https://api.github.com/users/Ciabas/events{/privacy}","received_events_url":"https://api.github.com/users/Ciabas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ciabas/PierogApple","description":"","fork":false,"url":"https://api.github.com/repos/Ciabas/PierogApple","forks_url":"https://api.github.com/repos/Ciabas/PierogApple/forks","keys_url":"https://api.github.com/repos/Ciabas/PierogApple/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ciabas/PierogApple/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ciabas/PierogApple/teams","hooks_url":"https://api.github.com/repos/Ciabas/PierogApple/hooks","issue_events_url":"https://api.github.com/repos/Ciabas/PierogApple/issues/events{/number}","events_url":"https://api.github.com/repos/Ciabas/PierogApple/events","assignees_url":"https://api.github.com/repos/Ciabas/PierogApple/assignees{/user}","branches_url":"https://api.github.com/repos/Ciabas/PierogApple/branches{/branch}","tags_url":"https://api.github.com/repos/Ciabas/PierogApple/tags","blobs_url":"https://api.github.com/repos/Ciabas/PierogApple/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ciabas/PierogApple/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ciabas/PierogApple/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ciabas/PierogApple/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ciabas/PierogApple/statuses/{sha}","languages_url":"https://api.github.com/repos/Ciabas/PierogApple/languages","stargazers_url":"https://api.github.com/repos/Ciabas/PierogApple/stargazers","contributors_url":"https://api.github.com/repos/Ciabas/PierogApple/contributors","subscribers_url":"https://api.github.com/repos/Ciabas/PierogApple/subscribers","subscription_url":"https://api.github.com/repos/Ciabas/PierogApple/subscription","commits_url":"https://api.github.com/repos/Ciabas/PierogApple/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ciabas/PierogApple/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ciabas/PierogApple/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ciabas/PierogApple/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ciabas/PierogApple/contents/{+path}","compare_url":"https://api.github.com/repos/Ciabas/PierogApple/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ciabas/PierogApple/merges","archive_url":"https://api.github.com/repos/Ciabas/PierogApple/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ciabas/PierogApple/downloads","issues_url":"https://api.github.com/repos/Ciabas/PierogApple/issues{/number}","pulls_url":"https://api.github.com/repos/Ciabas/PierogApple/pulls{/number}","milestones_url":"https://api.github.com/repos/Ciabas/PierogApple/milestones{/number}","notifications_url":"https://api.github.com/repos/Ciabas/PierogApple/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ciabas/PierogApple/labels{/name}","releases_url":"https://api.github.com/repos/Ciabas/PierogApple/releases{/id}","created_at":"2015-06-22T12:45:55Z","updated_at":"2015-06-22T12:46:50Z","pushed_at":"2015-06-23T13:10:20Z","git_url":"git://github.com/Ciabas/PierogApple.git","ssh_url":"git@github.com:Ciabas/PierogApple.git","clone_url":"https://github.com/Ciabas/PierogApple.git","svn_url":"https://github.com/Ciabas/PierogApple","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/Ciabas/PierogApple/pulls/1"},"html":{"href":"https://github.com/Ciabas/PierogApple/pull/1"},"issue":{"href":"https://api.github.com/repos/Ciabas/PierogApple/issues/1"},"comments":{"href":"https://api.github.com/repos/Ciabas/PierogApple/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Ciabas/PierogApple/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Ciabas/PierogApple/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ciabas/PierogApple/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Ciabas/PierogApple/statuses/362aebfc087dd42d6c3c3d37136f610d07b762d6"}}}}