{"action":"created","comment":{"url":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/comments/42278113","id":42278113,"diff_hunk":"@@ -1,6 +1,35 @@\n class NModasController < ApplicationController\n   def show\n-    @n_moda = NModa.find(params[:id])\n-    @sections = @n_moda.sections\n+    @n_moda = NModaPresenter.new(n_moda)\n+    assign_gon_variables(@n_moda)\n+  end\n+\n+  private\n+\n+  def assign_gon_variables(n_moda_presenter)\n+    chart_labels =[]","path":"app/controllers/n_modas_controller.rb","position":12,"original_position":12,"commit_id":"46bd28eec3228b917d4a86333aed2137cac1e18e","original_commit_id":"46bd28eec3228b917d4a86333aed2137cac1e18e","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":"Surrounding space missing for operator `=`.","created_at":"2015-10-16T19:01:38Z","updated_at":"2015-10-16T19:01:38Z","html_url":"https://github.com/lukad03/spri-nmoda/pull/23#discussion_r42278113","pull_request_url":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/comments/42278113"},"html":{"href":"https://github.com/lukad03/spri-nmoda/pull/23#discussion_r42278113"},"pull_request":{"href":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/23","id":47947611,"html_url":"https://github.com/lukad03/spri-nmoda/pull/23","diff_url":"https://github.com/lukad03/spri-nmoda/pull/23.diff","patch_url":"https://github.com/lukad03/spri-nmoda/pull/23.patch","issue_url":"https://api.github.com/repos/lukad03/spri-nmoda/issues/23","number":23,"state":"open","locked":false,"title":"NModa Show Content and Design","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"body":"Add content for NModa Show View with basic styles.\r\n\r\n* List sections in NModa Show View\r\n* Add conditional styles for Sections with Charts","created_at":"2015-10-16T19:01:22Z","updated_at":"2015-10-16T19:01:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0efa5a80ebef7159e18b773840e312c5c325c113","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/23/commits","review_comments_url":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/23/comments","review_comment_url":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lukad03/spri-nmoda/issues/23/comments","statuses_url":"https://api.github.com/repos/lukad03/spri-nmoda/statuses/46bd28eec3228b917d4a86333aed2137cac1e18e","head":{"label":"lukad03:lk-nmoda-design","ref":"lk-nmoda-design","sha":"46bd28eec3228b917d4a86333aed2137cac1e18e","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"repo":{"id":41441021,"name":"spri-nmoda","full_name":"lukad03/spri-nmoda","owner":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukad03/spri-nmoda","description":"","fork":false,"url":"https://api.github.com/repos/lukad03/spri-nmoda","forks_url":"https://api.github.com/repos/lukad03/spri-nmoda/forks","keys_url":"https://api.github.com/repos/lukad03/spri-nmoda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukad03/spri-nmoda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukad03/spri-nmoda/teams","hooks_url":"https://api.github.com/repos/lukad03/spri-nmoda/hooks","issue_events_url":"https://api.github.com/repos/lukad03/spri-nmoda/issues/events{/number}","events_url":"https://api.github.com/repos/lukad03/spri-nmoda/events","assignees_url":"https://api.github.com/repos/lukad03/spri-nmoda/assignees{/user}","branches_url":"https://api.github.com/repos/lukad03/spri-nmoda/branches{/branch}","tags_url":"https://api.github.com/repos/lukad03/spri-nmoda/tags","blobs_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukad03/spri-nmoda/statuses/{sha}","languages_url":"https://api.github.com/repos/lukad03/spri-nmoda/languages","stargazers_url":"https://api.github.com/repos/lukad03/spri-nmoda/stargazers","contributors_url":"https://api.github.com/repos/lukad03/spri-nmoda/contributors","subscribers_url":"https://api.github.com/repos/lukad03/spri-nmoda/subscribers","subscription_url":"https://api.github.com/repos/lukad03/spri-nmoda/subscription","commits_url":"https://api.github.com/repos/lukad03/spri-nmoda/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukad03/spri-nmoda/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukad03/spri-nmoda/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukad03/spri-nmoda/contents/{+path}","compare_url":"https://api.github.com/repos/lukad03/spri-nmoda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukad03/spri-nmoda/merges","archive_url":"https://api.github.com/repos/lukad03/spri-nmoda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukad03/spri-nmoda/downloads","issues_url":"https://api.github.com/repos/lukad03/spri-nmoda/issues{/number}","pulls_url":"https://api.github.com/repos/lukad03/spri-nmoda/pulls{/number}","milestones_url":"https://api.github.com/repos/lukad03/spri-nmoda/milestones{/number}","notifications_url":"https://api.github.com/repos/lukad03/spri-nmoda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukad03/spri-nmoda/labels{/name}","releases_url":"https://api.github.com/repos/lukad03/spri-nmoda/releases{/id}","created_at":"2015-08-26T17:53:30Z","updated_at":"2015-09-25T00:40:35Z","pushed_at":"2015-10-16T19:01:23Z","git_url":"git://github.com/lukad03/spri-nmoda.git","ssh_url":"git@github.com:lukad03/spri-nmoda.git","clone_url":"https://github.com/lukad03/spri-nmoda.git","svn_url":"https://github.com/lukad03/spri-nmoda","homepage":null,"size":560,"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":"lukad03:master","ref":"master","sha":"6296c2b2cee96842a12dba297910e58d7596f8d5","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"repo":{"id":41441021,"name":"spri-nmoda","full_name":"lukad03/spri-nmoda","owner":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukad03/spri-nmoda","description":"","fork":false,"url":"https://api.github.com/repos/lukad03/spri-nmoda","forks_url":"https://api.github.com/repos/lukad03/spri-nmoda/forks","keys_url":"https://api.github.com/repos/lukad03/spri-nmoda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukad03/spri-nmoda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukad03/spri-nmoda/teams","hooks_url":"https://api.github.com/repos/lukad03/spri-nmoda/hooks","issue_events_url":"https://api.github.com/repos/lukad03/spri-nmoda/issues/events{/number}","events_url":"https://api.github.com/repos/lukad03/spri-nmoda/events","assignees_url":"https://api.github.com/repos/lukad03/spri-nmoda/assignees{/user}","branches_url":"https://api.github.com/repos/lukad03/spri-nmoda/branches{/branch}","tags_url":"https://api.github.com/repos/lukad03/spri-nmoda/tags","blobs_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukad03/spri-nmoda/statuses/{sha}","languages_url":"https://api.github.com/repos/lukad03/spri-nmoda/languages","stargazers_url":"https://api.github.com/repos/lukad03/spri-nmoda/stargazers","contributors_url":"https://api.github.com/repos/lukad03/spri-nmoda/contributors","subscribers_url":"https://api.github.com/repos/lukad03/spri-nmoda/subscribers","subscription_url":"https://api.github.com/repos/lukad03/spri-nmoda/subscription","commits_url":"https://api.github.com/repos/lukad03/spri-nmoda/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukad03/spri-nmoda/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukad03/spri-nmoda/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukad03/spri-nmoda/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukad03/spri-nmoda/contents/{+path}","compare_url":"https://api.github.com/repos/lukad03/spri-nmoda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukad03/spri-nmoda/merges","archive_url":"https://api.github.com/repos/lukad03/spri-nmoda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukad03/spri-nmoda/downloads","issues_url":"https://api.github.com/repos/lukad03/spri-nmoda/issues{/number}","pulls_url":"https://api.github.com/repos/lukad03/spri-nmoda/pulls{/number}","milestones_url":"https://api.github.com/repos/lukad03/spri-nmoda/milestones{/number}","notifications_url":"https://api.github.com/repos/lukad03/spri-nmoda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukad03/spri-nmoda/labels{/name}","releases_url":"https://api.github.com/repos/lukad03/spri-nmoda/releases{/id}","created_at":"2015-08-26T17:53:30Z","updated_at":"2015-09-25T00:40:35Z","pushed_at":"2015-10-16T19:01:23Z","git_url":"git://github.com/lukad03/spri-nmoda.git","ssh_url":"git@github.com:lukad03/spri-nmoda.git","clone_url":"https://github.com/lukad03/spri-nmoda.git","svn_url":"https://github.com/lukad03/spri-nmoda","homepage":null,"size":560,"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/lukad03/spri-nmoda/pulls/23"},"html":{"href":"https://github.com/lukad03/spri-nmoda/pull/23"},"issue":{"href":"https://api.github.com/repos/lukad03/spri-nmoda/issues/23"},"comments":{"href":"https://api.github.com/repos/lukad03/spri-nmoda/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lukad03/spri-nmoda/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/lukad03/spri-nmoda/statuses/46bd28eec3228b917d4a86333aed2137cac1e18e"}}}}