{"action":"created","comment":{"url":"https://api.github.com/repos/subvisual/council/pulls/comments/33830607","id":33830607,"diff_hunk":"@@ -0,0 +1,37 @@\n+(function() {\n+  'use strict';\n+\n+  angular\n+    .module('council.core')\n+    .service('Me', Me);\n+\n+  function Me($http, $q) {\n+    var me;\n+    var mePromise;\n+\n+    function find() {\n+      mePromise = $http.get('/me')\n+        .then(set);\n+      return mePromise;\n+    }\n+\n+    function set(response) {\n+      me = response.data;\n+      return me;","path":"app/assets/javascripts/app/core/me.js","position":20,"original_position":20,"commit_id":"9161400df0d3dea62f63381068ac6edf47107a23","original_commit_id":"9161400df0d3dea62f63381068ac6edf47107a23","user":{"login":"azevedo-252","id":448574,"avatar_url":"https://avatars.githubusercontent.com/u/448574?v=3","gravatar_id":"","url":"https://api.github.com/users/azevedo-252","html_url":"https://github.com/azevedo-252","followers_url":"https://api.github.com/users/azevedo-252/followers","following_url":"https://api.github.com/users/azevedo-252/following{/other_user}","gists_url":"https://api.github.com/users/azevedo-252/gists{/gist_id}","starred_url":"https://api.github.com/users/azevedo-252/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azevedo-252/subscriptions","organizations_url":"https://api.github.com/users/azevedo-252/orgs","repos_url":"https://api.github.com/users/azevedo-252/repos","events_url":"https://api.github.com/users/azevedo-252/events{/privacy}","received_events_url":"https://api.github.com/users/azevedo-252/received_events","type":"User","site_admin":false},"body":"Do you need to return this?","created_at":"2015-07-02T22:57:58Z","updated_at":"2015-07-02T22:57:58Z","html_url":"https://github.com/subvisual/council/pull/167#discussion_r33830607","pull_request_url":"https://api.github.com/repos/subvisual/council/pulls/167","_links":{"self":{"href":"https://api.github.com/repos/subvisual/council/pulls/comments/33830607"},"html":{"href":"https://github.com/subvisual/council/pull/167#discussion_r33830607"},"pull_request":{"href":"https://api.github.com/repos/subvisual/council/pulls/167"}}},"pull_request":{"url":"https://api.github.com/repos/subvisual/council/pulls/167","id":38898665,"html_url":"https://github.com/subvisual/council/pull/167","diff_url":"https://github.com/subvisual/council/pull/167.diff","patch_url":"https://github.com/subvisual/council/pull/167.patch","issue_url":"https://api.github.com/repos/subvisual/council/issues/167","number":167,"state":"open","locked":false,"title":"Fix settings button and user's update form","user":{"login":"bsonntag","id":6205451,"avatar_url":"https://avatars.githubusercontent.com/u/6205451?v=3","gravatar_id":"","url":"https://api.github.com/users/bsonntag","html_url":"https://github.com/bsonntag","followers_url":"https://api.github.com/users/bsonntag/followers","following_url":"https://api.github.com/users/bsonntag/following{/other_user}","gists_url":"https://api.github.com/users/bsonntag/gists{/gist_id}","starred_url":"https://api.github.com/users/bsonntag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsonntag/subscriptions","organizations_url":"https://api.github.com/users/bsonntag/orgs","repos_url":"https://api.github.com/users/bsonntag/repos","events_url":"https://api.github.com/users/bsonntag/events{/privacy}","received_events_url":"https://api.github.com/users/bsonntag/received_events","type":"User","site_admin":false},"body":"This fixes the settings button in the side menu and the user update form.\r\n\r\nThe settings button didn't have any action. It now points to the update user page.\r\nThe user update form was using deprecated Material directives and was missing a color field.\r\nThis also fixes the side menu's icon and close button, but does not fix the notifications button.\r\n\r\nThis PR partially addresses issue https://github.com/subvisual/council/issues/132.","created_at":"2015-06-30T16:40:11Z","updated_at":"2015-07-02T22:57:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3db446522459839260e3f67e44f733dba98d9788","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/subvisual/council/pulls/167/commits","review_comments_url":"https://api.github.com/repos/subvisual/council/pulls/167/comments","review_comment_url":"https://api.github.com/repos/subvisual/council/pulls/comments{/number}","comments_url":"https://api.github.com/repos/subvisual/council/issues/167/comments","statuses_url":"https://api.github.com/repos/subvisual/council/statuses/9161400df0d3dea62f63381068ac6edf47107a23","head":{"label":"subvisual:bs-fix-settings-button","ref":"bs-fix-settings-button","sha":"9161400df0d3dea62f63381068ac6edf47107a23","user":{"login":"subvisual","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/subvisual","html_url":"https://github.com/subvisual","followers_url":"https://api.github.com/users/subvisual/followers","following_url":"https://api.github.com/users/subvisual/following{/other_user}","gists_url":"https://api.github.com/users/subvisual/gists{/gist_id}","starred_url":"https://api.github.com/users/subvisual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvisual/subscriptions","organizations_url":"https://api.github.com/users/subvisual/orgs","repos_url":"https://api.github.com/users/subvisual/repos","events_url":"https://api.github.com/users/subvisual/events{/privacy}","received_events_url":"https://api.github.com/users/subvisual/received_events","type":"Organization","site_admin":false},"repo":{"id":27681807,"name":"council","full_name":"subvisual/council","owner":{"login":"subvisual","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/subvisual","html_url":"https://github.com/subvisual","followers_url":"https://api.github.com/users/subvisual/followers","following_url":"https://api.github.com/users/subvisual/following{/other_user}","gists_url":"https://api.github.com/users/subvisual/gists{/gist_id}","starred_url":"https://api.github.com/users/subvisual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvisual/subscriptions","organizations_url":"https://api.github.com/users/subvisual/orgs","repos_url":"https://api.github.com/users/subvisual/repos","events_url":"https://api.github.com/users/subvisual/events{/privacy}","received_events_url":"https://api.github.com/users/subvisual/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/subvisual/council","description":"","fork":false,"url":"https://api.github.com/repos/subvisual/council","forks_url":"https://api.github.com/repos/subvisual/council/forks","keys_url":"https://api.github.com/repos/subvisual/council/keys{/key_id}","collaborators_url":"https://api.github.com/repos/subvisual/council/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/subvisual/council/teams","hooks_url":"https://api.github.com/repos/subvisual/council/hooks","issue_events_url":"https://api.github.com/repos/subvisual/council/issues/events{/number}","events_url":"https://api.github.com/repos/subvisual/council/events","assignees_url":"https://api.github.com/repos/subvisual/council/assignees{/user}","branches_url":"https://api.github.com/repos/subvisual/council/branches{/branch}","tags_url":"https://api.github.com/repos/subvisual/council/tags","blobs_url":"https://api.github.com/repos/subvisual/council/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/subvisual/council/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/subvisual/council/git/refs{/sha}","trees_url":"https://api.github.com/repos/subvisual/council/git/trees{/sha}","statuses_url":"https://api.github.com/repos/subvisual/council/statuses/{sha}","languages_url":"https://api.github.com/repos/subvisual/council/languages","stargazers_url":"https://api.github.com/repos/subvisual/council/stargazers","contributors_url":"https://api.github.com/repos/subvisual/council/contributors","subscribers_url":"https://api.github.com/repos/subvisual/council/subscribers","subscription_url":"https://api.github.com/repos/subvisual/council/subscription","commits_url":"https://api.github.com/repos/subvisual/council/commits{/sha}","git_commits_url":"https://api.github.com/repos/subvisual/council/git/commits{/sha}","comments_url":"https://api.github.com/repos/subvisual/council/comments{/number}","issue_comment_url":"https://api.github.com/repos/subvisual/council/issues/comments{/number}","contents_url":"https://api.github.com/repos/subvisual/council/contents/{+path}","compare_url":"https://api.github.com/repos/subvisual/council/compare/{base}...{head}","merges_url":"https://api.github.com/repos/subvisual/council/merges","archive_url":"https://api.github.com/repos/subvisual/council/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/subvisual/council/downloads","issues_url":"https://api.github.com/repos/subvisual/council/issues{/number}","pulls_url":"https://api.github.com/repos/subvisual/council/pulls{/number}","milestones_url":"https://api.github.com/repos/subvisual/council/milestones{/number}","notifications_url":"https://api.github.com/repos/subvisual/council/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/subvisual/council/labels{/name}","releases_url":"https://api.github.com/repos/subvisual/council/releases{/id}","created_at":"2014-12-07T19:28:26Z","updated_at":"2015-04-28T14:17:44Z","pushed_at":"2015-07-02T14:58:46Z","git_url":"git://github.com/subvisual/council.git","ssh_url":"git@github.com:subvisual/council.git","clone_url":"https://github.com/subvisual/council.git","svn_url":"https://github.com/subvisual/council","homepage":"http://council.groupbuddies.com","size":7960,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":15,"forks":2,"open_issues":15,"watchers":0,"default_branch":"master"}},"base":{"label":"subvisual:master","ref":"master","sha":"6d2565b753f846828e60c2a86343d6db037413ec","user":{"login":"subvisual","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/subvisual","html_url":"https://github.com/subvisual","followers_url":"https://api.github.com/users/subvisual/followers","following_url":"https://api.github.com/users/subvisual/following{/other_user}","gists_url":"https://api.github.com/users/subvisual/gists{/gist_id}","starred_url":"https://api.github.com/users/subvisual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvisual/subscriptions","organizations_url":"https://api.github.com/users/subvisual/orgs","repos_url":"https://api.github.com/users/subvisual/repos","events_url":"https://api.github.com/users/subvisual/events{/privacy}","received_events_url":"https://api.github.com/users/subvisual/received_events","type":"Organization","site_admin":false},"repo":{"id":27681807,"name":"council","full_name":"subvisual/council","owner":{"login":"subvisual","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/subvisual","html_url":"https://github.com/subvisual","followers_url":"https://api.github.com/users/subvisual/followers","following_url":"https://api.github.com/users/subvisual/following{/other_user}","gists_url":"https://api.github.com/users/subvisual/gists{/gist_id}","starred_url":"https://api.github.com/users/subvisual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvisual/subscriptions","organizations_url":"https://api.github.com/users/subvisual/orgs","repos_url":"https://api.github.com/users/subvisual/repos","events_url":"https://api.github.com/users/subvisual/events{/privacy}","received_events_url":"https://api.github.com/users/subvisual/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/subvisual/council","description":"","fork":false,"url":"https://api.github.com/repos/subvisual/council","forks_url":"https://api.github.com/repos/subvisual/council/forks","keys_url":"https://api.github.com/repos/subvisual/council/keys{/key_id}","collaborators_url":"https://api.github.com/repos/subvisual/council/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/subvisual/council/teams","hooks_url":"https://api.github.com/repos/subvisual/council/hooks","issue_events_url":"https://api.github.com/repos/subvisual/council/issues/events{/number}","events_url":"https://api.github.com/repos/subvisual/council/events","assignees_url":"https://api.github.com/repos/subvisual/council/assignees{/user}","branches_url":"https://api.github.com/repos/subvisual/council/branches{/branch}","tags_url":"https://api.github.com/repos/subvisual/council/tags","blobs_url":"https://api.github.com/repos/subvisual/council/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/subvisual/council/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/subvisual/council/git/refs{/sha}","trees_url":"https://api.github.com/repos/subvisual/council/git/trees{/sha}","statuses_url":"https://api.github.com/repos/subvisual/council/statuses/{sha}","languages_url":"https://api.github.com/repos/subvisual/council/languages","stargazers_url":"https://api.github.com/repos/subvisual/council/stargazers","contributors_url":"https://api.github.com/repos/subvisual/council/contributors","subscribers_url":"https://api.github.com/repos/subvisual/council/subscribers","subscription_url":"https://api.github.com/repos/subvisual/council/subscription","commits_url":"https://api.github.com/repos/subvisual/council/commits{/sha}","git_commits_url":"https://api.github.com/repos/subvisual/council/git/commits{/sha}","comments_url":"https://api.github.com/repos/subvisual/council/comments{/number}","issue_comment_url":"https://api.github.com/repos/subvisual/council/issues/comments{/number}","contents_url":"https://api.github.com/repos/subvisual/council/contents/{+path}","compare_url":"https://api.github.com/repos/subvisual/council/compare/{base}...{head}","merges_url":"https://api.github.com/repos/subvisual/council/merges","archive_url":"https://api.github.com/repos/subvisual/council/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/subvisual/council/downloads","issues_url":"https://api.github.com/repos/subvisual/council/issues{/number}","pulls_url":"https://api.github.com/repos/subvisual/council/pulls{/number}","milestones_url":"https://api.github.com/repos/subvisual/council/milestones{/number}","notifications_url":"https://api.github.com/repos/subvisual/council/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/subvisual/council/labels{/name}","releases_url":"https://api.github.com/repos/subvisual/council/releases{/id}","created_at":"2014-12-07T19:28:26Z","updated_at":"2015-04-28T14:17:44Z","pushed_at":"2015-07-02T14:58:46Z","git_url":"git://github.com/subvisual/council.git","ssh_url":"git@github.com:subvisual/council.git","clone_url":"https://github.com/subvisual/council.git","svn_url":"https://github.com/subvisual/council","homepage":"http://council.groupbuddies.com","size":7960,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":15,"forks":2,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/subvisual/council/pulls/167"},"html":{"href":"https://github.com/subvisual/council/pull/167"},"issue":{"href":"https://api.github.com/repos/subvisual/council/issues/167"},"comments":{"href":"https://api.github.com/repos/subvisual/council/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/subvisual/council/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/subvisual/council/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/subvisual/council/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/subvisual/council/statuses/9161400df0d3dea62f63381068ac6edf47107a23"}}}}