{"action":"created","comment":{"url":"https://api.github.com/repos/agilidee/dorsale/pulls/comments/77146867","id":77146867,"diff_hunk":"@@ -0,0 +1,30 @@\n+.actions\n+  = create_button new_expense_gun_category_path, action: :create\n+  p\n+\n+  table.table.default#category\n+    thead\n+      tr\n+        th.category-name\n+          = ::Dorsale::ExpenseGun::Category.t(:name)\n+        th.category-code\n+          = ::Dorsale::ExpenseGun::Category.t(:code)\n+        th.category-vat_deductible\n+          = ::Dorsale::ExpenseGun::Category.t(:vat_deductible)\n+        th.category-action\n+          = \"Action\"\n+\n+    tbody align=\"center\"\n+      - @categories.each do |category|\n+        tr.category\n+          td.category-name\n+            = category.name\n+          td.category-code\n+            = category.code\n+          td.category-vat_deductible\n+            - if category.vat_deductible?\n+              span.glyphicon.glyphicon-ok","path":"app/views/dorsale/expense_gun/categories/index.html.slim","position":26,"original_position":26,"commit_id":"c81aa7b4bfe5d4ec596bb1fcd2d7d42c435d3180","original_commit_id":"c81aa7b4bfe5d4ec596bb1fcd2d7d42c435d3180","user":{"login":"BenoitMC","id":445785,"avatar_url":"https://avatars.githubusercontent.com/u/445785?v=3","gravatar_id":"","url":"https://api.github.com/users/BenoitMC","html_url":"https://github.com/BenoitMC","followers_url":"https://api.github.com/users/BenoitMC/followers","following_url":"https://api.github.com/users/BenoitMC/following{/other_user}","gists_url":"https://api.github.com/users/BenoitMC/gists{/gist_id}","starred_url":"https://api.github.com/users/BenoitMC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenoitMC/subscriptions","organizations_url":"https://api.github.com/users/BenoitMC/orgs","repos_url":"https://api.github.com/users/BenoitMC/repos","events_url":"https://api.github.com/users/BenoitMC/events{/privacy}","received_events_url":"https://api.github.com/users/BenoitMC/received_events","type":"User","site_admin":false},"body":"= icon(:check)\r\nhttp://fontawesome.io/icons/","created_at":"2016-09-01T10:04:47Z","updated_at":"2016-09-01T10:04:47Z","html_url":"https://github.com/agilidee/dorsale/pull/155#discussion_r77146867","pull_request_url":"https://api.github.com/repos/agilidee/dorsale/pulls/155","_links":{"self":{"href":"https://api.github.com/repos/agilidee/dorsale/pulls/comments/77146867"},"html":{"href":"https://github.com/agilidee/dorsale/pull/155#discussion_r77146867"},"pull_request":{"href":"https://api.github.com/repos/agilidee/dorsale/pulls/155"}}},"pull_request":{"url":"https://api.github.com/repos/agilidee/dorsale/pulls/155","id":83603180,"html_url":"https://github.com/agilidee/dorsale/pull/155","diff_url":"https://github.com/agilidee/dorsale/pull/155.diff","patch_url":"https://github.com/agilidee/dorsale/pull/155.patch","issue_url":"https://api.github.com/repos/agilidee/dorsale/issues/155","number":155,"state":"open","locked":false,"title":"add categories controller","user":{"login":"BenoitMC","id":445785,"avatar_url":"https://avatars.githubusercontent.com/u/445785?v=3","gravatar_id":"","url":"https://api.github.com/users/BenoitMC","html_url":"https://github.com/BenoitMC","followers_url":"https://api.github.com/users/BenoitMC/followers","following_url":"https://api.github.com/users/BenoitMC/following{/other_user}","gists_url":"https://api.github.com/users/BenoitMC/gists{/gist_id}","starred_url":"https://api.github.com/users/BenoitMC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenoitMC/subscriptions","organizations_url":"https://api.github.com/users/BenoitMC/orgs","repos_url":"https://api.github.com/users/BenoitMC/repos","events_url":"https://api.github.com/users/BenoitMC/events{/privacy}","received_events_url":"https://api.github.com/users/BenoitMC/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-01T09:58:50Z","updated_at":"2016-09-01T10:04:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98f12c6375761565b6c842f7ce7ef79846a40da9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/agilidee/dorsale/pulls/155/commits","review_comments_url":"https://api.github.com/repos/agilidee/dorsale/pulls/155/comments","review_comment_url":"https://api.github.com/repos/agilidee/dorsale/pulls/comments{/number}","comments_url":"https://api.github.com/repos/agilidee/dorsale/issues/155/comments","statuses_url":"https://api.github.com/repos/agilidee/dorsale/statuses/c81aa7b4bfe5d4ec596bb1fcd2d7d42c435d3180","head":{"label":"agilidee:admin-controller","ref":"admin-controller","sha":"c81aa7b4bfe5d4ec596bb1fcd2d7d42c435d3180","user":{"login":"agilidee","id":3305057,"avatar_url":"https://avatars.githubusercontent.com/u/3305057?v=3","gravatar_id":"","url":"https://api.github.com/users/agilidee","html_url":"https://github.com/agilidee","followers_url":"https://api.github.com/users/agilidee/followers","following_url":"https://api.github.com/users/agilidee/following{/other_user}","gists_url":"https://api.github.com/users/agilidee/gists{/gist_id}","starred_url":"https://api.github.com/users/agilidee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilidee/subscriptions","organizations_url":"https://api.github.com/users/agilidee/orgs","repos_url":"https://api.github.com/users/agilidee/repos","events_url":"https://api.github.com/users/agilidee/events{/privacy}","received_events_url":"https://api.github.com/users/agilidee/received_events","type":"Organization","site_admin":false},"repo":{"id":25037004,"name":"dorsale","full_name":"agilidee/dorsale","owner":{"login":"agilidee","id":3305057,"avatar_url":"https://avatars.githubusercontent.com/u/3305057?v=3","gravatar_id":"","url":"https://api.github.com/users/agilidee","html_url":"https://github.com/agilidee","followers_url":"https://api.github.com/users/agilidee/followers","following_url":"https://api.github.com/users/agilidee/following{/other_user}","gists_url":"https://api.github.com/users/agilidee/gists{/gist_id}","starred_url":"https://api.github.com/users/agilidee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilidee/subscriptions","organizations_url":"https://api.github.com/users/agilidee/orgs","repos_url":"https://api.github.com/users/agilidee/repos","events_url":"https://api.github.com/users/agilidee/events{/privacy}","received_events_url":"https://api.github.com/users/agilidee/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agilidee/dorsale","description":"Dorsale","fork":false,"url":"https://api.github.com/repos/agilidee/dorsale","forks_url":"https://api.github.com/repos/agilidee/dorsale/forks","keys_url":"https://api.github.com/repos/agilidee/dorsale/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agilidee/dorsale/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agilidee/dorsale/teams","hooks_url":"https://api.github.com/repos/agilidee/dorsale/hooks","issue_events_url":"https://api.github.com/repos/agilidee/dorsale/issues/events{/number}","events_url":"https://api.github.com/repos/agilidee/dorsale/events","assignees_url":"https://api.github.com/repos/agilidee/dorsale/assignees{/user}","branches_url":"https://api.github.com/repos/agilidee/dorsale/branches{/branch}","tags_url":"https://api.github.com/repos/agilidee/dorsale/tags","blobs_url":"https://api.github.com/repos/agilidee/dorsale/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agilidee/dorsale/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agilidee/dorsale/git/refs{/sha}","trees_url":"https://api.github.com/repos/agilidee/dorsale/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agilidee/dorsale/statuses/{sha}","languages_url":"https://api.github.com/repos/agilidee/dorsale/languages","stargazers_url":"https://api.github.com/repos/agilidee/dorsale/stargazers","contributors_url":"https://api.github.com/repos/agilidee/dorsale/contributors","subscribers_url":"https://api.github.com/repos/agilidee/dorsale/subscribers","subscription_url":"https://api.github.com/repos/agilidee/dorsale/subscription","commits_url":"https://api.github.com/repos/agilidee/dorsale/commits{/sha}","git_commits_url":"https://api.github.com/repos/agilidee/dorsale/git/commits{/sha}","comments_url":"https://api.github.com/repos/agilidee/dorsale/comments{/number}","issue_comment_url":"https://api.github.com/repos/agilidee/dorsale/issues/comments{/number}","contents_url":"https://api.github.com/repos/agilidee/dorsale/contents/{+path}","compare_url":"https://api.github.com/repos/agilidee/dorsale/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agilidee/dorsale/merges","archive_url":"https://api.github.com/repos/agilidee/dorsale/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agilidee/dorsale/downloads","issues_url":"https://api.github.com/repos/agilidee/dorsale/issues{/number}","pulls_url":"https://api.github.com/repos/agilidee/dorsale/pulls{/number}","milestones_url":"https://api.github.com/repos/agilidee/dorsale/milestones{/number}","notifications_url":"https://api.github.com/repos/agilidee/dorsale/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agilidee/dorsale/labels{/name}","releases_url":"https://api.github.com/repos/agilidee/dorsale/releases{/id}","deployments_url":"https://api.github.com/repos/agilidee/dorsale/deployments","created_at":"2014-10-10T13:37:39Z","updated_at":"2016-05-17T17:18:30Z","pushed_at":"2016-09-01T09:58:50Z","git_url":"git://github.com/agilidee/dorsale.git","ssh_url":"git@github.com:agilidee/dorsale.git","clone_url":"https://github.com/agilidee/dorsale.git","svn_url":"https://github.com/agilidee/dorsale","homepage":"https://dorsale-dummy.herokuapp.com","size":1209,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":21,"forks":2,"open_issues":21,"watchers":3,"default_branch":"master"}},"base":{"label":"agilidee:develop","ref":"develop","sha":"dc0c944e01e3e16104febe1aecb44fdee5c0b7ed","user":{"login":"agilidee","id":3305057,"avatar_url":"https://avatars.githubusercontent.com/u/3305057?v=3","gravatar_id":"","url":"https://api.github.com/users/agilidee","html_url":"https://github.com/agilidee","followers_url":"https://api.github.com/users/agilidee/followers","following_url":"https://api.github.com/users/agilidee/following{/other_user}","gists_url":"https://api.github.com/users/agilidee/gists{/gist_id}","starred_url":"https://api.github.com/users/agilidee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilidee/subscriptions","organizations_url":"https://api.github.com/users/agilidee/orgs","repos_url":"https://api.github.com/users/agilidee/repos","events_url":"https://api.github.com/users/agilidee/events{/privacy}","received_events_url":"https://api.github.com/users/agilidee/received_events","type":"Organization","site_admin":false},"repo":{"id":25037004,"name":"dorsale","full_name":"agilidee/dorsale","owner":{"login":"agilidee","id":3305057,"avatar_url":"https://avatars.githubusercontent.com/u/3305057?v=3","gravatar_id":"","url":"https://api.github.com/users/agilidee","html_url":"https://github.com/agilidee","followers_url":"https://api.github.com/users/agilidee/followers","following_url":"https://api.github.com/users/agilidee/following{/other_user}","gists_url":"https://api.github.com/users/agilidee/gists{/gist_id}","starred_url":"https://api.github.com/users/agilidee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilidee/subscriptions","organizations_url":"https://api.github.com/users/agilidee/orgs","repos_url":"https://api.github.com/users/agilidee/repos","events_url":"https://api.github.com/users/agilidee/events{/privacy}","received_events_url":"https://api.github.com/users/agilidee/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agilidee/dorsale","description":"Dorsale","fork":false,"url":"https://api.github.com/repos/agilidee/dorsale","forks_url":"https://api.github.com/repos/agilidee/dorsale/forks","keys_url":"https://api.github.com/repos/agilidee/dorsale/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agilidee/dorsale/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agilidee/dorsale/teams","hooks_url":"https://api.github.com/repos/agilidee/dorsale/hooks","issue_events_url":"https://api.github.com/repos/agilidee/dorsale/issues/events{/number}","events_url":"https://api.github.com/repos/agilidee/dorsale/events","assignees_url":"https://api.github.com/repos/agilidee/dorsale/assignees{/user}","branches_url":"https://api.github.com/repos/agilidee/dorsale/branches{/branch}","tags_url":"https://api.github.com/repos/agilidee/dorsale/tags","blobs_url":"https://api.github.com/repos/agilidee/dorsale/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agilidee/dorsale/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agilidee/dorsale/git/refs{/sha}","trees_url":"https://api.github.com/repos/agilidee/dorsale/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agilidee/dorsale/statuses/{sha}","languages_url":"https://api.github.com/repos/agilidee/dorsale/languages","stargazers_url":"https://api.github.com/repos/agilidee/dorsale/stargazers","contributors_url":"https://api.github.com/repos/agilidee/dorsale/contributors","subscribers_url":"https://api.github.com/repos/agilidee/dorsale/subscribers","subscription_url":"https://api.github.com/repos/agilidee/dorsale/subscription","commits_url":"https://api.github.com/repos/agilidee/dorsale/commits{/sha}","git_commits_url":"https://api.github.com/repos/agilidee/dorsale/git/commits{/sha}","comments_url":"https://api.github.com/repos/agilidee/dorsale/comments{/number}","issue_comment_url":"https://api.github.com/repos/agilidee/dorsale/issues/comments{/number}","contents_url":"https://api.github.com/repos/agilidee/dorsale/contents/{+path}","compare_url":"https://api.github.com/repos/agilidee/dorsale/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agilidee/dorsale/merges","archive_url":"https://api.github.com/repos/agilidee/dorsale/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agilidee/dorsale/downloads","issues_url":"https://api.github.com/repos/agilidee/dorsale/issues{/number}","pulls_url":"https://api.github.com/repos/agilidee/dorsale/pulls{/number}","milestones_url":"https://api.github.com/repos/agilidee/dorsale/milestones{/number}","notifications_url":"https://api.github.com/repos/agilidee/dorsale/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agilidee/dorsale/labels{/name}","releases_url":"https://api.github.com/repos/agilidee/dorsale/releases{/id}","deployments_url":"https://api.github.com/repos/agilidee/dorsale/deployments","created_at":"2014-10-10T13:37:39Z","updated_at":"2016-05-17T17:18:30Z","pushed_at":"2016-09-01T09:58:50Z","git_url":"git://github.com/agilidee/dorsale.git","ssh_url":"git@github.com:agilidee/dorsale.git","clone_url":"https://github.com/agilidee/dorsale.git","svn_url":"https://github.com/agilidee/dorsale","homepage":"https://dorsale-dummy.herokuapp.com","size":1209,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":21,"forks":2,"open_issues":21,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/agilidee/dorsale/pulls/155"},"html":{"href":"https://github.com/agilidee/dorsale/pull/155"},"issue":{"href":"https://api.github.com/repos/agilidee/dorsale/issues/155"},"comments":{"href":"https://api.github.com/repos/agilidee/dorsale/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/agilidee/dorsale/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/agilidee/dorsale/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/agilidee/dorsale/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/agilidee/dorsale/statuses/c81aa7b4bfe5d4ec596bb1fcd2d7d42c435d3180"}}}}
{"actor":{"display_login":"BenoitMC"}}