{"action":"created","comment":{"url":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/comments/26634409","id":26634409,"diff_hunk":"@@ -1,9 +1,26 @@\n class Admin::OrdersController < AdminController\n   def index\n-    @orders = Order.all\n+    @statuses = Status.all\n+    @orders = params[:status_id] ? Status.find(params[:status_id]).orders : Order.all","path":"app/controllers/admin/orders_controller.rb","position":5,"original_position":5,"commit_id":"e82e2e34230524d05fab585600f4ed89adc9bc05","original_commit_id":"e82e2e34230524d05fab585600f4ed89adc9bc05","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":"Line is too long. [85/80]","created_at":"2015-03-18T02:38:10Z","updated_at":"2015-03-18T02:38:10Z","html_url":"https://github.com/loriculberson/dinner_dash/pull/88#discussion_r26634409","pull_request_url":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/comments/26634409"},"html":{"href":"https://github.com/loriculberson/dinner_dash/pull/88#discussion_r26634409"},"pull_request":{"href":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/88","id":31396265,"html_url":"https://github.com/loriculberson/dinner_dash/pull/88","diff_url":"https://github.com/loriculberson/dinner_dash/pull/88.diff","patch_url":"https://github.com/loriculberson/dinner_dash/pull/88.patch","issue_url":"https://api.github.com/repos/loriculberson/dinner_dash/issues/88","number":88,"state":"open","locked":false,"title":"Admin order updates","user":{"login":"loriculberson","id":8315971,"avatar_url":"https://avatars.githubusercontent.com/u/8315971?v=3","gravatar_id":"","url":"https://api.github.com/users/loriculberson","html_url":"https://github.com/loriculberson","followers_url":"https://api.github.com/users/loriculberson/followers","following_url":"https://api.github.com/users/loriculberson/following{/other_user}","gists_url":"https://api.github.com/users/loriculberson/gists{/gist_id}","starred_url":"https://api.github.com/users/loriculberson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loriculberson/subscriptions","organizations_url":"https://api.github.com/users/loriculberson/orgs","repos_url":"https://api.github.com/users/loriculberson/repos","events_url":"https://api.github.com/users/loriculberson/events{/privacy}","received_events_url":"https://api.github.com/users/loriculberson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-18T02:38:04Z","updated_at":"2015-03-18T02:38:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"135a8a809ad11a881d8e7170bf4f7bfe7cc9eeff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/88/commits","review_comments_url":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/88/comments","review_comment_url":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/loriculberson/dinner_dash/issues/88/comments","statuses_url":"https://api.github.com/repos/loriculberson/dinner_dash/statuses/e82e2e34230524d05fab585600f4ed89adc9bc05","head":{"label":"loriculberson:admin_order_updates","ref":"admin_order_updates","sha":"e82e2e34230524d05fab585600f4ed89adc9bc05","user":{"login":"loriculberson","id":8315971,"avatar_url":"https://avatars.githubusercontent.com/u/8315971?v=3","gravatar_id":"","url":"https://api.github.com/users/loriculberson","html_url":"https://github.com/loriculberson","followers_url":"https://api.github.com/users/loriculberson/followers","following_url":"https://api.github.com/users/loriculberson/following{/other_user}","gists_url":"https://api.github.com/users/loriculberson/gists{/gist_id}","starred_url":"https://api.github.com/users/loriculberson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loriculberson/subscriptions","organizations_url":"https://api.github.com/users/loriculberson/orgs","repos_url":"https://api.github.com/users/loriculberson/repos","events_url":"https://api.github.com/users/loriculberson/events{/privacy}","received_events_url":"https://api.github.com/users/loriculberson/received_events","type":"User","site_admin":false},"repo":{"id":31906354,"name":"dinner_dash","full_name":"loriculberson/dinner_dash","owner":{"login":"loriculberson","id":8315971,"avatar_url":"https://avatars.githubusercontent.com/u/8315971?v=3","gravatar_id":"","url":"https://api.github.com/users/loriculberson","html_url":"https://github.com/loriculberson","followers_url":"https://api.github.com/users/loriculberson/followers","following_url":"https://api.github.com/users/loriculberson/following{/other_user}","gists_url":"https://api.github.com/users/loriculberson/gists{/gist_id}","starred_url":"https://api.github.com/users/loriculberson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loriculberson/subscriptions","organizations_url":"https://api.github.com/users/loriculberson/orgs","repos_url":"https://api.github.com/users/loriculberson/repos","events_url":"https://api.github.com/users/loriculberson/events{/privacy}","received_events_url":"https://api.github.com/users/loriculberson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/loriculberson/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/loriculberson/dinner_dash","forks_url":"https://api.github.com/repos/loriculberson/dinner_dash/forks","keys_url":"https://api.github.com/repos/loriculberson/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loriculberson/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loriculberson/dinner_dash/teams","hooks_url":"https://api.github.com/repos/loriculberson/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/loriculberson/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/loriculberson/dinner_dash/events","assignees_url":"https://api.github.com/repos/loriculberson/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/loriculberson/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/loriculberson/dinner_dash/tags","blobs_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loriculberson/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/loriculberson/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/loriculberson/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/loriculberson/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/loriculberson/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/loriculberson/dinner_dash/subscription","commits_url":"https://api.github.com/repos/loriculberson/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/loriculberson/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/loriculberson/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/loriculberson/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/loriculberson/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loriculberson/dinner_dash/merges","archive_url":"https://api.github.com/repos/loriculberson/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loriculberson/dinner_dash/downloads","issues_url":"https://api.github.com/repos/loriculberson/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/loriculberson/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/loriculberson/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/loriculberson/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loriculberson/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/loriculberson/dinner_dash/releases{/id}","created_at":"2015-03-09T15:29:00Z","updated_at":"2015-03-17T20:14:31Z","pushed_at":"2015-03-18T02:36:53Z","git_url":"git://github.com/loriculberson/dinner_dash.git","ssh_url":"git@github.com:loriculberson/dinner_dash.git","clone_url":"https://github.com/loriculberson/dinner_dash.git","svn_url":"https://github.com/loriculberson/dinner_dash","homepage":null,"size":7892,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"loriculberson:master","ref":"master","sha":"e53cf0576f4f74544dacf6bb5fb0118c477e67e4","user":{"login":"loriculberson","id":8315971,"avatar_url":"https://avatars.githubusercontent.com/u/8315971?v=3","gravatar_id":"","url":"https://api.github.com/users/loriculberson","html_url":"https://github.com/loriculberson","followers_url":"https://api.github.com/users/loriculberson/followers","following_url":"https://api.github.com/users/loriculberson/following{/other_user}","gists_url":"https://api.github.com/users/loriculberson/gists{/gist_id}","starred_url":"https://api.github.com/users/loriculberson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loriculberson/subscriptions","organizations_url":"https://api.github.com/users/loriculberson/orgs","repos_url":"https://api.github.com/users/loriculberson/repos","events_url":"https://api.github.com/users/loriculberson/events{/privacy}","received_events_url":"https://api.github.com/users/loriculberson/received_events","type":"User","site_admin":false},"repo":{"id":31906354,"name":"dinner_dash","full_name":"loriculberson/dinner_dash","owner":{"login":"loriculberson","id":8315971,"avatar_url":"https://avatars.githubusercontent.com/u/8315971?v=3","gravatar_id":"","url":"https://api.github.com/users/loriculberson","html_url":"https://github.com/loriculberson","followers_url":"https://api.github.com/users/loriculberson/followers","following_url":"https://api.github.com/users/loriculberson/following{/other_user}","gists_url":"https://api.github.com/users/loriculberson/gists{/gist_id}","starred_url":"https://api.github.com/users/loriculberson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loriculberson/subscriptions","organizations_url":"https://api.github.com/users/loriculberson/orgs","repos_url":"https://api.github.com/users/loriculberson/repos","events_url":"https://api.github.com/users/loriculberson/events{/privacy}","received_events_url":"https://api.github.com/users/loriculberson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/loriculberson/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/loriculberson/dinner_dash","forks_url":"https://api.github.com/repos/loriculberson/dinner_dash/forks","keys_url":"https://api.github.com/repos/loriculberson/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loriculberson/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loriculberson/dinner_dash/teams","hooks_url":"https://api.github.com/repos/loriculberson/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/loriculberson/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/loriculberson/dinner_dash/events","assignees_url":"https://api.github.com/repos/loriculberson/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/loriculberson/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/loriculberson/dinner_dash/tags","blobs_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loriculberson/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/loriculberson/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/loriculberson/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/loriculberson/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/loriculberson/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/loriculberson/dinner_dash/subscription","commits_url":"https://api.github.com/repos/loriculberson/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/loriculberson/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/loriculberson/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/loriculberson/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/loriculberson/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/loriculberson/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loriculberson/dinner_dash/merges","archive_url":"https://api.github.com/repos/loriculberson/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loriculberson/dinner_dash/downloads","issues_url":"https://api.github.com/repos/loriculberson/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/loriculberson/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/loriculberson/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/loriculberson/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loriculberson/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/loriculberson/dinner_dash/releases{/id}","created_at":"2015-03-09T15:29:00Z","updated_at":"2015-03-17T20:14:31Z","pushed_at":"2015-03-18T02:36:53Z","git_url":"git://github.com/loriculberson/dinner_dash.git","ssh_url":"git@github.com:loriculberson/dinner_dash.git","clone_url":"https://github.com/loriculberson/dinner_dash.git","svn_url":"https://github.com/loriculberson/dinner_dash","homepage":null,"size":7892,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/88"},"html":{"href":"https://github.com/loriculberson/dinner_dash/pull/88"},"issue":{"href":"https://api.github.com/repos/loriculberson/dinner_dash/issues/88"},"comments":{"href":"https://api.github.com/repos/loriculberson/dinner_dash/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/loriculberson/dinner_dash/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/loriculberson/dinner_dash/statuses/e82e2e34230524d05fab585600f4ed89adc9bc05"}}}}