{"action":"created","comment":{"url":"https://api.github.com/repos/bitzesty/qae/pulls/comments/29408007","id":29408007,"diff_hunk":"@@ -0,0 +1,22 @@\n+class Users::FormAnswerFeedbacksController < Users::BaseController\n+  def show\n+    respond_to do |format|\n+      format.pdf do\n+        pdf = form_answer.feedbacks_pdf_generator\n+        send_data pdf.render,\n+                  filename: \"application_feedback_#{form_answer.pdf_filename}\",\n+                  type: \"application/pdf\"\n+      end\n+    end\n+  end\n+\n+  private\n+\n+  def form_answer\n+    @form_answer ||= resource.form_answer.decorate\n+  end\n+\n+  def resource\n+    @form_answer_feedback ||= Feedback.find(params[:id])","path":"app/controllers/users/form_answer_feedbacks_controller.rb","position":20,"original_position":20,"commit_id":"2a6e1aa94cce1630ac027d9d520d1433362dd386","original_commit_id":"2a6e1aa94cce1630ac027d9d520d1433362dd386","user":{"login":"RuslanHamidullin","id":358508,"avatar_url":"https://avatars.githubusercontent.com/u/358508?v=3","gravatar_id":"","url":"https://api.github.com/users/RuslanHamidullin","html_url":"https://github.com/RuslanHamidullin","followers_url":"https://api.github.com/users/RuslanHamidullin/followers","following_url":"https://api.github.com/users/RuslanHamidullin/following{/other_user}","gists_url":"https://api.github.com/users/RuslanHamidullin/gists{/gist_id}","starred_url":"https://api.github.com/users/RuslanHamidullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuslanHamidullin/subscriptions","organizations_url":"https://api.github.com/users/RuslanHamidullin/orgs","repos_url":"https://api.github.com/users/RuslanHamidullin/repos","events_url":"https://api.github.com/users/RuslanHamidullin/events{/privacy}","received_events_url":"https://api.github.com/users/RuslanHamidullin/received_events","type":"User","site_admin":false},"body":"Fixed in master","created_at":"2015-04-30T07:21:45Z","updated_at":"2015-04-30T07:21:45Z","html_url":"https://github.com/bitzesty/qae/pull/443#discussion_r29408007","pull_request_url":"https://api.github.com/repos/bitzesty/qae/pulls/443","_links":{"self":{"href":"https://api.github.com/repos/bitzesty/qae/pulls/comments/29408007"},"html":{"href":"https://github.com/bitzesty/qae/pull/443#discussion_r29408007"},"pull_request":{"href":"https://api.github.com/repos/bitzesty/qae/pulls/443"}}},"pull_request":{"url":"https://api.github.com/repos/bitzesty/qae/pulls/443","id":34377383,"html_url":"https://github.com/bitzesty/qae/pull/443","diff_url":"https://github.com/bitzesty/qae/pull/443.diff","patch_url":"https://github.com/bitzesty/qae/pull/443.patch","issue_url":"https://api.github.com/repos/bitzesty/qae/issues/443","number":443,"state":"closed","locked":false,"title":"Post submission dashboard logic","user":{"login":"jaleszek","id":501621,"avatar_url":"https://avatars.githubusercontent.com/u/501621?v=3","gravatar_id":"","url":"https://api.github.com/users/jaleszek","html_url":"https://github.com/jaleszek","followers_url":"https://api.github.com/users/jaleszek/followers","following_url":"https://api.github.com/users/jaleszek/following{/other_user}","gists_url":"https://api.github.com/users/jaleszek/gists{/gist_id}","starred_url":"https://api.github.com/users/jaleszek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaleszek/subscriptions","organizations_url":"https://api.github.com/users/jaleszek/orgs","repos_url":"https://api.github.com/users/jaleszek/repos","events_url":"https://api.github.com/users/jaleszek/events{/privacy}","received_events_url":"https://api.github.com/users/jaleszek/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-29T15:53:23Z","updated_at":"2015-04-30T07:21:45Z","closed_at":"2015-04-30T07:02:10Z","merged_at":"2015-04-30T07:02:10Z","merge_commit_sha":"7af1ba48353ffc7467a45de393a60caecd695e1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bitzesty/qae/pulls/443/commits","review_comments_url":"https://api.github.com/repos/bitzesty/qae/pulls/443/comments","review_comment_url":"https://api.github.com/repos/bitzesty/qae/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitzesty/qae/issues/443/comments","statuses_url":"https://api.github.com/repos/bitzesty/qae/statuses/2a6e1aa94cce1630ac027d9d520d1433362dd386","head":{"label":"bitzesty:post-submission-dashboard-logic","ref":"post-submission-dashboard-logic","sha":"2a6e1aa94cce1630ac027d9d520d1433362dd386","user":{"login":"bitzesty","id":70534,"avatar_url":"https://avatars.githubusercontent.com/u/70534?v=3","gravatar_id":"","url":"https://api.github.com/users/bitzesty","html_url":"https://github.com/bitzesty","followers_url":"https://api.github.com/users/bitzesty/followers","following_url":"https://api.github.com/users/bitzesty/following{/other_user}","gists_url":"https://api.github.com/users/bitzesty/gists{/gist_id}","starred_url":"https://api.github.com/users/bitzesty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitzesty/subscriptions","organizations_url":"https://api.github.com/users/bitzesty/orgs","repos_url":"https://api.github.com/users/bitzesty/repos","events_url":"https://api.github.com/users/bitzesty/events{/privacy}","received_events_url":"https://api.github.com/users/bitzesty/received_events","type":"Organization","site_admin":false},"repo":{"id":26758825,"name":"qae","full_name":"bitzesty/qae","owner":{"login":"bitzesty","id":70534,"avatar_url":"https://avatars.githubusercontent.com/u/70534?v=3","gravatar_id":"","url":"https://api.github.com/users/bitzesty","html_url":"https://github.com/bitzesty","followers_url":"https://api.github.com/users/bitzesty/followers","following_url":"https://api.github.com/users/bitzesty/following{/other_user}","gists_url":"https://api.github.com/users/bitzesty/gists{/gist_id}","starred_url":"https://api.github.com/users/bitzesty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitzesty/subscriptions","organizations_url":"https://api.github.com/users/bitzesty/orgs","repos_url":"https://api.github.com/users/bitzesty/repos","events_url":"https://api.github.com/users/bitzesty/events{/privacy}","received_events_url":"https://api.github.com/users/bitzesty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitzesty/qae","description":"[Beta] Queens Award for Enterprise","fork":false,"url":"https://api.github.com/repos/bitzesty/qae","forks_url":"https://api.github.com/repos/bitzesty/qae/forks","keys_url":"https://api.github.com/repos/bitzesty/qae/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitzesty/qae/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitzesty/qae/teams","hooks_url":"https://api.github.com/repos/bitzesty/qae/hooks","issue_events_url":"https://api.github.com/repos/bitzesty/qae/issues/events{/number}","events_url":"https://api.github.com/repos/bitzesty/qae/events","assignees_url":"https://api.github.com/repos/bitzesty/qae/assignees{/user}","branches_url":"https://api.github.com/repos/bitzesty/qae/branches{/branch}","tags_url":"https://api.github.com/repos/bitzesty/qae/tags","blobs_url":"https://api.github.com/repos/bitzesty/qae/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitzesty/qae/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitzesty/qae/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitzesty/qae/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitzesty/qae/statuses/{sha}","languages_url":"https://api.github.com/repos/bitzesty/qae/languages","stargazers_url":"https://api.github.com/repos/bitzesty/qae/stargazers","contributors_url":"https://api.github.com/repos/bitzesty/qae/contributors","subscribers_url":"https://api.github.com/repos/bitzesty/qae/subscribers","subscription_url":"https://api.github.com/repos/bitzesty/qae/subscription","commits_url":"https://api.github.com/repos/bitzesty/qae/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitzesty/qae/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitzesty/qae/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitzesty/qae/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitzesty/qae/contents/{+path}","compare_url":"https://api.github.com/repos/bitzesty/qae/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitzesty/qae/merges","archive_url":"https://api.github.com/repos/bitzesty/qae/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitzesty/qae/downloads","issues_url":"https://api.github.com/repos/bitzesty/qae/issues{/number}","pulls_url":"https://api.github.com/repos/bitzesty/qae/pulls{/number}","milestones_url":"https://api.github.com/repos/bitzesty/qae/milestones{/number}","notifications_url":"https://api.github.com/repos/bitzesty/qae/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitzesty/qae/labels{/name}","releases_url":"https://api.github.com/repos/bitzesty/qae/releases{/id}","created_at":"2014-11-17T13:56:00Z","updated_at":"2015-04-30T07:21:26Z","pushed_at":"2015-04-30T07:21:25Z","git_url":"git://github.com/bitzesty/qae.git","ssh_url":"git@github.com:bitzesty/qae.git","clone_url":"https://github.com/bitzesty/qae.git","svn_url":"https://github.com/bitzesty/qae","homepage":"","size":24469,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"bitzesty:master","ref":"master","sha":"4984a7494a41ac215ed1ab7fb74dea98f3fbe84c","user":{"login":"bitzesty","id":70534,"avatar_url":"https://avatars.githubusercontent.com/u/70534?v=3","gravatar_id":"","url":"https://api.github.com/users/bitzesty","html_url":"https://github.com/bitzesty","followers_url":"https://api.github.com/users/bitzesty/followers","following_url":"https://api.github.com/users/bitzesty/following{/other_user}","gists_url":"https://api.github.com/users/bitzesty/gists{/gist_id}","starred_url":"https://api.github.com/users/bitzesty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitzesty/subscriptions","organizations_url":"https://api.github.com/users/bitzesty/orgs","repos_url":"https://api.github.com/users/bitzesty/repos","events_url":"https://api.github.com/users/bitzesty/events{/privacy}","received_events_url":"https://api.github.com/users/bitzesty/received_events","type":"Organization","site_admin":false},"repo":{"id":26758825,"name":"qae","full_name":"bitzesty/qae","owner":{"login":"bitzesty","id":70534,"avatar_url":"https://avatars.githubusercontent.com/u/70534?v=3","gravatar_id":"","url":"https://api.github.com/users/bitzesty","html_url":"https://github.com/bitzesty","followers_url":"https://api.github.com/users/bitzesty/followers","following_url":"https://api.github.com/users/bitzesty/following{/other_user}","gists_url":"https://api.github.com/users/bitzesty/gists{/gist_id}","starred_url":"https://api.github.com/users/bitzesty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitzesty/subscriptions","organizations_url":"https://api.github.com/users/bitzesty/orgs","repos_url":"https://api.github.com/users/bitzesty/repos","events_url":"https://api.github.com/users/bitzesty/events{/privacy}","received_events_url":"https://api.github.com/users/bitzesty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitzesty/qae","description":"[Beta] Queens Award for Enterprise","fork":false,"url":"https://api.github.com/repos/bitzesty/qae","forks_url":"https://api.github.com/repos/bitzesty/qae/forks","keys_url":"https://api.github.com/repos/bitzesty/qae/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitzesty/qae/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitzesty/qae/teams","hooks_url":"https://api.github.com/repos/bitzesty/qae/hooks","issue_events_url":"https://api.github.com/repos/bitzesty/qae/issues/events{/number}","events_url":"https://api.github.com/repos/bitzesty/qae/events","assignees_url":"https://api.github.com/repos/bitzesty/qae/assignees{/user}","branches_url":"https://api.github.com/repos/bitzesty/qae/branches{/branch}","tags_url":"https://api.github.com/repos/bitzesty/qae/tags","blobs_url":"https://api.github.com/repos/bitzesty/qae/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitzesty/qae/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitzesty/qae/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitzesty/qae/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitzesty/qae/statuses/{sha}","languages_url":"https://api.github.com/repos/bitzesty/qae/languages","stargazers_url":"https://api.github.com/repos/bitzesty/qae/stargazers","contributors_url":"https://api.github.com/repos/bitzesty/qae/contributors","subscribers_url":"https://api.github.com/repos/bitzesty/qae/subscribers","subscription_url":"https://api.github.com/repos/bitzesty/qae/subscription","commits_url":"https://api.github.com/repos/bitzesty/qae/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitzesty/qae/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitzesty/qae/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitzesty/qae/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitzesty/qae/contents/{+path}","compare_url":"https://api.github.com/repos/bitzesty/qae/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitzesty/qae/merges","archive_url":"https://api.github.com/repos/bitzesty/qae/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitzesty/qae/downloads","issues_url":"https://api.github.com/repos/bitzesty/qae/issues{/number}","pulls_url":"https://api.github.com/repos/bitzesty/qae/pulls{/number}","milestones_url":"https://api.github.com/repos/bitzesty/qae/milestones{/number}","notifications_url":"https://api.github.com/repos/bitzesty/qae/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitzesty/qae/labels{/name}","releases_url":"https://api.github.com/repos/bitzesty/qae/releases{/id}","created_at":"2014-11-17T13:56:00Z","updated_at":"2015-04-30T07:21:26Z","pushed_at":"2015-04-30T07:21:25Z","git_url":"git://github.com/bitzesty/qae.git","ssh_url":"git@github.com:bitzesty/qae.git","clone_url":"https://github.com/bitzesty/qae.git","svn_url":"https://github.com/bitzesty/qae","homepage":"","size":24469,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitzesty/qae/pulls/443"},"html":{"href":"https://github.com/bitzesty/qae/pull/443"},"issue":{"href":"https://api.github.com/repos/bitzesty/qae/issues/443"},"comments":{"href":"https://api.github.com/repos/bitzesty/qae/issues/443/comments"},"review_comments":{"href":"https://api.github.com/repos/bitzesty/qae/pulls/443/comments"},"review_comment":{"href":"https://api.github.com/repos/bitzesty/qae/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitzesty/qae/pulls/443/commits"},"statuses":{"href":"https://api.github.com/repos/bitzesty/qae/statuses/2a6e1aa94cce1630ac027d9d520d1433362dd386"}}}}