{"action":"opened","number":62,"pull_request":{"url":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls/62","id":43947658,"html_url":"https://github.com/mrjaimisra/the_pivot/pull/62","diff_url":"https://github.com/mrjaimisra/the_pivot/pull/62.diff","patch_url":"https://github.com/mrjaimisra/the_pivot/pull/62.patch","issue_url":"https://api.github.com/repos/mrjaimisra/the_pivot/issues/62","number":62,"state":"open","locked":false,"title":"add test for store_admin adds photo to permitted store and cannot add…","user":{"login":"mrjaimisra","id":8093774,"avatar_url":"https://avatars.githubusercontent.com/u/8093774?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjaimisra","html_url":"https://github.com/mrjaimisra","followers_url":"https://api.github.com/users/mrjaimisra/followers","following_url":"https://api.github.com/users/mrjaimisra/following{/other_user}","gists_url":"https://api.github.com/users/mrjaimisra/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjaimisra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjaimisra/subscriptions","organizations_url":"https://api.github.com/users/mrjaimisra/orgs","repos_url":"https://api.github.com/users/mrjaimisra/repos","events_url":"https://api.github.com/users/mrjaimisra/events{/privacy}","received_events_url":"https://api.github.com/users/mrjaimisra/received_events","type":"User","site_admin":false},"body":"… photos to other stores\r\n\r\ncloses #23 \r\n\r\nfix navbar layouts\r\nhide button for adding photo to store to all users without store_admin permissions\r\nadd store has_many users and users belong_to store relationship\r\ncreate routes for stores/edit, show, update\r\nchange urls for stores/show page to display store name instead of id\r\nadd store_id column to users table","created_at":"2015-09-02T02:18:12Z","updated_at":"2015-09-02T02:18:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls/62/commits","review_comments_url":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls/62/comments","review_comment_url":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrjaimisra/the_pivot/issues/62/comments","statuses_url":"https://api.github.com/repos/mrjaimisra/the_pivot/statuses/dab65187ff7b2f3deace6bc3a3e754c60ef9cc43","head":{"label":"mrjaimisra:23-business-admin-adds-photo","ref":"23-business-admin-adds-photo","sha":"dab65187ff7b2f3deace6bc3a3e754c60ef9cc43","user":{"login":"mrjaimisra","id":8093774,"avatar_url":"https://avatars.githubusercontent.com/u/8093774?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjaimisra","html_url":"https://github.com/mrjaimisra","followers_url":"https://api.github.com/users/mrjaimisra/followers","following_url":"https://api.github.com/users/mrjaimisra/following{/other_user}","gists_url":"https://api.github.com/users/mrjaimisra/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjaimisra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjaimisra/subscriptions","organizations_url":"https://api.github.com/users/mrjaimisra/orgs","repos_url":"https://api.github.com/users/mrjaimisra/repos","events_url":"https://api.github.com/users/mrjaimisra/events{/privacy}","received_events_url":"https://api.github.com/users/mrjaimisra/received_events","type":"User","site_admin":false},"repo":{"id":41321965,"name":"the_pivot","full_name":"mrjaimisra/the_pivot","owner":{"login":"mrjaimisra","id":8093774,"avatar_url":"https://avatars.githubusercontent.com/u/8093774?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjaimisra","html_url":"https://github.com/mrjaimisra","followers_url":"https://api.github.com/users/mrjaimisra/followers","following_url":"https://api.github.com/users/mrjaimisra/following{/other_user}","gists_url":"https://api.github.com/users/mrjaimisra/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjaimisra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjaimisra/subscriptions","organizations_url":"https://api.github.com/users/mrjaimisra/orgs","repos_url":"https://api.github.com/users/mrjaimisra/repos","events_url":"https://api.github.com/users/mrjaimisra/events{/privacy}","received_events_url":"https://api.github.com/users/mrjaimisra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrjaimisra/the_pivot","description":"Turing School Module 3","fork":false,"url":"https://api.github.com/repos/mrjaimisra/the_pivot","forks_url":"https://api.github.com/repos/mrjaimisra/the_pivot/forks","keys_url":"https://api.github.com/repos/mrjaimisra/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrjaimisra/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrjaimisra/the_pivot/teams","hooks_url":"https://api.github.com/repos/mrjaimisra/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/mrjaimisra/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/mrjaimisra/the_pivot/events","assignees_url":"https://api.github.com/repos/mrjaimisra/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/mrjaimisra/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/mrjaimisra/the_pivot/tags","blobs_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrjaimisra/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/mrjaimisra/the_pivot/languages","stargazers_url":"https://api.github.com/repos/mrjaimisra/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/mrjaimisra/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/mrjaimisra/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/mrjaimisra/the_pivot/subscription","commits_url":"https://api.github.com/repos/mrjaimisra/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrjaimisra/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrjaimisra/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrjaimisra/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/mrjaimisra/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrjaimisra/the_pivot/merges","archive_url":"https://api.github.com/repos/mrjaimisra/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrjaimisra/the_pivot/downloads","issues_url":"https://api.github.com/repos/mrjaimisra/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/mrjaimisra/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/mrjaimisra/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrjaimisra/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/mrjaimisra/the_pivot/releases{/id}","created_at":"2015-08-24T19:11:06Z","updated_at":"2015-08-24T19:11:53Z","pushed_at":"2015-09-02T02:17:24Z","git_url":"git://github.com/mrjaimisra/the_pivot.git","ssh_url":"git@github.com:mrjaimisra/the_pivot.git","clone_url":"https://github.com/mrjaimisra/the_pivot.git","svn_url":"https://github.com/mrjaimisra/the_pivot","homepage":null,"size":544404,"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":20,"forks":0,"open_issues":20,"watchers":0,"default_branch":"master"}},"base":{"label":"mrjaimisra:master","ref":"master","sha":"201bb3a2765e22a62b1d5b8545700969c7121f30","user":{"login":"mrjaimisra","id":8093774,"avatar_url":"https://avatars.githubusercontent.com/u/8093774?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjaimisra","html_url":"https://github.com/mrjaimisra","followers_url":"https://api.github.com/users/mrjaimisra/followers","following_url":"https://api.github.com/users/mrjaimisra/following{/other_user}","gists_url":"https://api.github.com/users/mrjaimisra/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjaimisra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjaimisra/subscriptions","organizations_url":"https://api.github.com/users/mrjaimisra/orgs","repos_url":"https://api.github.com/users/mrjaimisra/repos","events_url":"https://api.github.com/users/mrjaimisra/events{/privacy}","received_events_url":"https://api.github.com/users/mrjaimisra/received_events","type":"User","site_admin":false},"repo":{"id":41321965,"name":"the_pivot","full_name":"mrjaimisra/the_pivot","owner":{"login":"mrjaimisra","id":8093774,"avatar_url":"https://avatars.githubusercontent.com/u/8093774?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjaimisra","html_url":"https://github.com/mrjaimisra","followers_url":"https://api.github.com/users/mrjaimisra/followers","following_url":"https://api.github.com/users/mrjaimisra/following{/other_user}","gists_url":"https://api.github.com/users/mrjaimisra/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjaimisra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjaimisra/subscriptions","organizations_url":"https://api.github.com/users/mrjaimisra/orgs","repos_url":"https://api.github.com/users/mrjaimisra/repos","events_url":"https://api.github.com/users/mrjaimisra/events{/privacy}","received_events_url":"https://api.github.com/users/mrjaimisra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrjaimisra/the_pivot","description":"Turing School Module 3","fork":false,"url":"https://api.github.com/repos/mrjaimisra/the_pivot","forks_url":"https://api.github.com/repos/mrjaimisra/the_pivot/forks","keys_url":"https://api.github.com/repos/mrjaimisra/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrjaimisra/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrjaimisra/the_pivot/teams","hooks_url":"https://api.github.com/repos/mrjaimisra/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/mrjaimisra/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/mrjaimisra/the_pivot/events","assignees_url":"https://api.github.com/repos/mrjaimisra/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/mrjaimisra/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/mrjaimisra/the_pivot/tags","blobs_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrjaimisra/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/mrjaimisra/the_pivot/languages","stargazers_url":"https://api.github.com/repos/mrjaimisra/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/mrjaimisra/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/mrjaimisra/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/mrjaimisra/the_pivot/subscription","commits_url":"https://api.github.com/repos/mrjaimisra/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrjaimisra/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrjaimisra/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrjaimisra/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrjaimisra/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/mrjaimisra/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrjaimisra/the_pivot/merges","archive_url":"https://api.github.com/repos/mrjaimisra/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrjaimisra/the_pivot/downloads","issues_url":"https://api.github.com/repos/mrjaimisra/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/mrjaimisra/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/mrjaimisra/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrjaimisra/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/mrjaimisra/the_pivot/releases{/id}","created_at":"2015-08-24T19:11:06Z","updated_at":"2015-08-24T19:11:53Z","pushed_at":"2015-09-02T02:17:24Z","git_url":"git://github.com/mrjaimisra/the_pivot.git","ssh_url":"git@github.com:mrjaimisra/the_pivot.git","clone_url":"https://github.com/mrjaimisra/the_pivot.git","svn_url":"https://github.com/mrjaimisra/the_pivot","homepage":null,"size":544404,"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":20,"forks":0,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls/62"},"html":{"href":"https://github.com/mrjaimisra/the_pivot/pull/62"},"issue":{"href":"https://api.github.com/repos/mrjaimisra/the_pivot/issues/62"},"comments":{"href":"https://api.github.com/repos/mrjaimisra/the_pivot/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrjaimisra/the_pivot/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/mrjaimisra/the_pivot/statuses/dab65187ff7b2f3deace6bc3a3e754c60ef9cc43"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":108,"deletions":28,"changed_files":17}}