{"action":"created","comment":{"url":"https://api.github.com/repos/mikedao/the_pivot/pulls/comments/25147381","id":25147381,"diff_hunk":"@@ -19,42 +19,20 @@\n   </div>\n </div>\n \n-<div class=\"row\">\n-  <% @projects.each do |project| %>\n-  <div class=\"box col-lg-3\">\n-    <h4 class=\"project-title\"> <%= link_to(\"#{project.title}\", project_path(project))%></h4>\n-    <div class=\"thumbnail\">\n-      <%= image_tag project.image.url %>\n-    </div>\n-    <h5 class=\"project-desc\"><%= project.description %></h5>\n-    <%= \"<h5>Retired</h5>\" if project.retired %>\n+<div id=\"all_projects\">\n+  <h2>All Projects</h2>\n+  <table style=\"width:95%\">\n+    <tr>\n+      <th>Title</th>\n+      <th>Description</th>\n+      <th>Edit</th>\n+    </tr>\n \n-    <table>\n-      <thead>\n-      <th>\n-        <div class=\"project_edit\">\n-        <a class=\"btn btn-default\", style=inline, href=<%=edit_admin_project_path(project)%>>\n-          <i class=\"fa fa-pencil-square-o\"></i>Edit</a>\n-      </div>\n-    </th>\n-    <th>\n-      <div class=\"project_delete\">\n-        <a class=\"btn btn-default\", style=inline, href=<%=admin_project_path(project)%> >\n-          <i class=\"fa fa-trash-o\"></i>Delete</a>\n-      </div>\n-    </div>\n-  </th>\n-  <th>\n-    <div class=\"retire-btn\">\n-      <%= form_for :retire, url: admin_project_path(project), method: \"put\" do |f| %>\n-      <div id=\"true\"><%= f.select \"status_#{project.id}\", options_for_select([['true'], ['false']])%></div>\n-      <%= f.submit 'Retire', class: \"btn btn-default btn-update-quantity\" %>\n-      <% end %>\n-    </div>\n-  </th>\n-  </thead>\n-</table>\n-    </div>\n+    <% @projects.each do |project| %>\n+      <tr>\n+        <td><%= project.title %></td>","path":"app/views/admin/projects/index.html.erb","position":57,"original_position":57,"commit_id":"bfe6c8ad1b44d37b459bcab09054c3b54255983c","original_commit_id":"c768f57af6e56726865356291a861e536da34fc4","user":{"login":"Jwan622","id":6790201,"avatar_url":"https://avatars.githubusercontent.com/u/6790201?v=3","gravatar_id":"","url":"https://api.github.com/users/Jwan622","html_url":"https://github.com/Jwan622","followers_url":"https://api.github.com/users/Jwan622/followers","following_url":"https://api.github.com/users/Jwan622/following{/other_user}","gists_url":"https://api.github.com/users/Jwan622/gists{/gist_id}","starred_url":"https://api.github.com/users/Jwan622/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jwan622/subscriptions","organizations_url":"https://api.github.com/users/Jwan622/orgs","repos_url":"https://api.github.com/users/Jwan622/repos","events_url":"https://api.github.com/users/Jwan622/events{/privacy}","received_events_url":"https://api.github.com/users/Jwan622/received_events","type":"User","site_admin":false},"body":"Very neat. So the link for each project on this page goes to that project's edit page. What action will this link hit in which controller?","created_at":"2015-02-23T07:37:01Z","updated_at":"2015-02-23T07:37:01Z","html_url":"https://github.com/mikedao/the_pivot/pull/183#discussion_r25147381","pull_request_url":"https://api.github.com/repos/mikedao/the_pivot/pulls/183","_links":{"self":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/comments/25147381"},"html":{"href":"https://github.com/mikedao/the_pivot/pull/183#discussion_r25147381"},"pull_request":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/183"}}},"pull_request":{"url":"https://api.github.com/repos/mikedao/the_pivot/pulls/183","id":29784204,"html_url":"https://github.com/mikedao/the_pivot/pull/183","diff_url":"https://github.com/mikedao/the_pivot/pull/183.diff","patch_url":"https://github.com/mikedao/the_pivot/pull/183.patch","issue_url":"https://api.github.com/repos/mikedao/the_pivot/issues/183","number":183,"state":"open","locked":false,"title":"Starting Projects Dashboard for Platform Admin closes #182","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"body":"Started the implementation of projects for platform admin. \r\n* Created link on main dashboard page.\r\n* Created controller.\r\n* Created View\r\n* Wrote all necessary tests for this stage.\r\n\r\nWill continue work with a smaller story and another branch tomorrow.","created_at":"2015-02-23T03:21:18Z","updated_at":"2015-02-23T07:37:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e956a2afc7417d1d0e6d88829d6ad79f4cdd49b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mikedao/the_pivot/pulls/183/commits","review_comments_url":"https://api.github.com/repos/mikedao/the_pivot/pulls/183/comments","review_comment_url":"https://api.github.com/repos/mikedao/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mikedao/the_pivot/issues/183/comments","statuses_url":"https://api.github.com/repos/mikedao/the_pivot/statuses/bfe6c8ad1b44d37b459bcab09054c3b54255983c","head":{"label":"mikedao:platform-projects","ref":"platform-projects","sha":"bfe6c8ad1b44d37b459bcab09054c3b54255983c","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":30558977,"name":"the_pivot","full_name":"mikedao/the_pivot","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/the_pivot","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/the_pivot","forks_url":"https://api.github.com/repos/mikedao/the_pivot/forks","keys_url":"https://api.github.com/repos/mikedao/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/the_pivot/teams","hooks_url":"https://api.github.com/repos/mikedao/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/mikedao/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/the_pivot/events","assignees_url":"https://api.github.com/repos/mikedao/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/the_pivot/tags","blobs_url":"https://api.github.com/repos/mikedao/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/the_pivot/languages","stargazers_url":"https://api.github.com/repos/mikedao/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/mikedao/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/mikedao/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/mikedao/the_pivot/subscription","commits_url":"https://api.github.com/repos/mikedao/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikedao/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/the_pivot/merges","archive_url":"https://api.github.com/repos/mikedao/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/the_pivot/downloads","issues_url":"https://api.github.com/repos/mikedao/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/the_pivot/releases{/id}","created_at":"2015-02-09T21:18:30Z","updated_at":"2015-02-23T04:33:59Z","pushed_at":"2015-02-23T04:45:18Z","git_url":"git://github.com/mikedao/the_pivot.git","ssh_url":"git@github.com:mikedao/the_pivot.git","clone_url":"https://github.com/mikedao/the_pivot.git","svn_url":"https://github.com/mikedao/the_pivot","homepage":null,"size":16552,"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":51,"forks":0,"open_issues":51,"watchers":0,"default_branch":"master"}},"base":{"label":"mikedao:master","ref":"master","sha":"dd9e5dbe614f7147317db0977480a615ee85267c","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":30558977,"name":"the_pivot","full_name":"mikedao/the_pivot","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/the_pivot","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/the_pivot","forks_url":"https://api.github.com/repos/mikedao/the_pivot/forks","keys_url":"https://api.github.com/repos/mikedao/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/the_pivot/teams","hooks_url":"https://api.github.com/repos/mikedao/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/mikedao/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/the_pivot/events","assignees_url":"https://api.github.com/repos/mikedao/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/the_pivot/tags","blobs_url":"https://api.github.com/repos/mikedao/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/the_pivot/languages","stargazers_url":"https://api.github.com/repos/mikedao/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/mikedao/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/mikedao/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/mikedao/the_pivot/subscription","commits_url":"https://api.github.com/repos/mikedao/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikedao/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/the_pivot/merges","archive_url":"https://api.github.com/repos/mikedao/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/the_pivot/downloads","issues_url":"https://api.github.com/repos/mikedao/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/the_pivot/releases{/id}","created_at":"2015-02-09T21:18:30Z","updated_at":"2015-02-23T04:33:59Z","pushed_at":"2015-02-23T04:45:18Z","git_url":"git://github.com/mikedao/the_pivot.git","ssh_url":"git@github.com:mikedao/the_pivot.git","clone_url":"https://github.com/mikedao/the_pivot.git","svn_url":"https://github.com/mikedao/the_pivot","homepage":null,"size":16552,"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":51,"forks":0,"open_issues":51,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/183"},"html":{"href":"https://github.com/mikedao/the_pivot/pull/183"},"issue":{"href":"https://api.github.com/repos/mikedao/the_pivot/issues/183"},"comments":{"href":"https://api.github.com/repos/mikedao/the_pivot/issues/183/comments"},"review_comments":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/183/comments"},"review_comment":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/183/commits"},"statuses":{"href":"https://api.github.com/repos/mikedao/the_pivot/statuses/bfe6c8ad1b44d37b459bcab09054c3b54255983c"}}}}