{"action":"created","comment":{"url":"https://api.github.com/repos/neslom/dinner_dash/pulls/comments/26452482","id":26452482,"diff_hunk":"@@ -2,6 +2,15 @@ class Admin::OrdersController < ApplicationController\n   layout \"admin\"\n \n   def index\n+    @orders = Order.all\n+    @orders = Order.ordered if params[:status] == '0'","path":"app/controllers/admin/orders_controller.rb","position":5,"original_position":5,"commit_id":"e1e792371e693305983c0bebd2c1578e2164db78","original_commit_id":"e1e792371e693305983c0bebd2c1578e2164db78","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-03-15T21:17:56Z","updated_at":"2015-03-15T21:17:56Z","html_url":"https://github.com/neslom/dinner_dash/pull/73#discussion_r26452482","pull_request_url":"https://api.github.com/repos/neslom/dinner_dash/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/neslom/dinner_dash/pulls/comments/26452482"},"html":{"href":"https://github.com/neslom/dinner_dash/pull/73#discussion_r26452482"},"pull_request":{"href":"https://api.github.com/repos/neslom/dinner_dash/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/neslom/dinner_dash/pulls/73","id":31207490,"html_url":"https://github.com/neslom/dinner_dash/pull/73","diff_url":"https://github.com/neslom/dinner_dash/pull/73.diff","patch_url":"https://github.com/neslom/dinner_dash/pull/73.patch","issue_url":"https://api.github.com/repos/neslom/dinner_dash/issues/73","number":73,"state":"open","locked":false,"title":"Admin order management","user":{"login":"kyraweber","id":6415583,"avatar_url":"https://avatars.githubusercontent.com/u/6415583?v=3","gravatar_id":"","url":"https://api.github.com/users/kyraweber","html_url":"https://github.com/kyraweber","followers_url":"https://api.github.com/users/kyraweber/followers","following_url":"https://api.github.com/users/kyraweber/following{/other_user}","gists_url":"https://api.github.com/users/kyraweber/gists{/gist_id}","starred_url":"https://api.github.com/users/kyraweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyraweber/subscriptions","organizations_url":"https://api.github.com/users/kyraweber/orgs","repos_url":"https://api.github.com/users/kyraweber/repos","events_url":"https://api.github.com/users/kyraweber/events{/privacy}","received_events_url":"https://api.github.com/users/kyraweber/received_events","type":"User","site_admin":false},"body":"WIP","created_at":"2015-03-15T21:17:54Z","updated_at":"2015-03-15T21:17:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67c2e4eb50833a6d7d7e3be7fb112db531540c1f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neslom/dinner_dash/pulls/73/commits","review_comments_url":"https://api.github.com/repos/neslom/dinner_dash/pulls/73/comments","review_comment_url":"https://api.github.com/repos/neslom/dinner_dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neslom/dinner_dash/issues/73/comments","statuses_url":"https://api.github.com/repos/neslom/dinner_dash/statuses/e1e792371e693305983c0bebd2c1578e2164db78","head":{"label":"neslom:admin_order_management","ref":"admin_order_management","sha":"e1e792371e693305983c0bebd2c1578e2164db78","user":{"login":"neslom","id":8800860,"avatar_url":"https://avatars.githubusercontent.com/u/8800860?v=3","gravatar_id":"","url":"https://api.github.com/users/neslom","html_url":"https://github.com/neslom","followers_url":"https://api.github.com/users/neslom/followers","following_url":"https://api.github.com/users/neslom/following{/other_user}","gists_url":"https://api.github.com/users/neslom/gists{/gist_id}","starred_url":"https://api.github.com/users/neslom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neslom/subscriptions","organizations_url":"https://api.github.com/users/neslom/orgs","repos_url":"https://api.github.com/users/neslom/repos","events_url":"https://api.github.com/users/neslom/events{/privacy}","received_events_url":"https://api.github.com/users/neslom/received_events","type":"User","site_admin":false},"repo":{"id":31906336,"name":"dinner_dash","full_name":"neslom/dinner_dash","owner":{"login":"neslom","id":8800860,"avatar_url":"https://avatars.githubusercontent.com/u/8800860?v=3","gravatar_id":"","url":"https://api.github.com/users/neslom","html_url":"https://github.com/neslom","followers_url":"https://api.github.com/users/neslom/followers","following_url":"https://api.github.com/users/neslom/following{/other_user}","gists_url":"https://api.github.com/users/neslom/gists{/gist_id}","starred_url":"https://api.github.com/users/neslom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neslom/subscriptions","organizations_url":"https://api.github.com/users/neslom/orgs","repos_url":"https://api.github.com/users/neslom/repos","events_url":"https://api.github.com/users/neslom/events{/privacy}","received_events_url":"https://api.github.com/users/neslom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neslom/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/neslom/dinner_dash","forks_url":"https://api.github.com/repos/neslom/dinner_dash/forks","keys_url":"https://api.github.com/repos/neslom/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neslom/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neslom/dinner_dash/teams","hooks_url":"https://api.github.com/repos/neslom/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/neslom/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/neslom/dinner_dash/events","assignees_url":"https://api.github.com/repos/neslom/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/neslom/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/neslom/dinner_dash/tags","blobs_url":"https://api.github.com/repos/neslom/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neslom/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neslom/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/neslom/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neslom/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/neslom/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/neslom/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/neslom/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/neslom/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/neslom/dinner_dash/subscription","commits_url":"https://api.github.com/repos/neslom/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/neslom/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/neslom/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/neslom/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/neslom/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/neslom/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neslom/dinner_dash/merges","archive_url":"https://api.github.com/repos/neslom/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neslom/dinner_dash/downloads","issues_url":"https://api.github.com/repos/neslom/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/neslom/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/neslom/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/neslom/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neslom/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/neslom/dinner_dash/releases{/id}","created_at":"2015-03-09T15:28:39Z","updated_at":"2015-03-15T01:36:16Z","pushed_at":"2015-03-15T21:17:36Z","git_url":"git://github.com/neslom/dinner_dash.git","ssh_url":"git@github.com:neslom/dinner_dash.git","clone_url":"https://github.com/neslom/dinner_dash.git","svn_url":"https://github.com/neslom/dinner_dash","homepage":null,"size":917,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"neslom:master","ref":"master","sha":"939632a6b2f22e7b88a757b1693c3b69db593c17","user":{"login":"neslom","id":8800860,"avatar_url":"https://avatars.githubusercontent.com/u/8800860?v=3","gravatar_id":"","url":"https://api.github.com/users/neslom","html_url":"https://github.com/neslom","followers_url":"https://api.github.com/users/neslom/followers","following_url":"https://api.github.com/users/neslom/following{/other_user}","gists_url":"https://api.github.com/users/neslom/gists{/gist_id}","starred_url":"https://api.github.com/users/neslom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neslom/subscriptions","organizations_url":"https://api.github.com/users/neslom/orgs","repos_url":"https://api.github.com/users/neslom/repos","events_url":"https://api.github.com/users/neslom/events{/privacy}","received_events_url":"https://api.github.com/users/neslom/received_events","type":"User","site_admin":false},"repo":{"id":31906336,"name":"dinner_dash","full_name":"neslom/dinner_dash","owner":{"login":"neslom","id":8800860,"avatar_url":"https://avatars.githubusercontent.com/u/8800860?v=3","gravatar_id":"","url":"https://api.github.com/users/neslom","html_url":"https://github.com/neslom","followers_url":"https://api.github.com/users/neslom/followers","following_url":"https://api.github.com/users/neslom/following{/other_user}","gists_url":"https://api.github.com/users/neslom/gists{/gist_id}","starred_url":"https://api.github.com/users/neslom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neslom/subscriptions","organizations_url":"https://api.github.com/users/neslom/orgs","repos_url":"https://api.github.com/users/neslom/repos","events_url":"https://api.github.com/users/neslom/events{/privacy}","received_events_url":"https://api.github.com/users/neslom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neslom/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/neslom/dinner_dash","forks_url":"https://api.github.com/repos/neslom/dinner_dash/forks","keys_url":"https://api.github.com/repos/neslom/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neslom/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neslom/dinner_dash/teams","hooks_url":"https://api.github.com/repos/neslom/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/neslom/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/neslom/dinner_dash/events","assignees_url":"https://api.github.com/repos/neslom/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/neslom/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/neslom/dinner_dash/tags","blobs_url":"https://api.github.com/repos/neslom/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neslom/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neslom/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/neslom/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neslom/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/neslom/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/neslom/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/neslom/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/neslom/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/neslom/dinner_dash/subscription","commits_url":"https://api.github.com/repos/neslom/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/neslom/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/neslom/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/neslom/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/neslom/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/neslom/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neslom/dinner_dash/merges","archive_url":"https://api.github.com/repos/neslom/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neslom/dinner_dash/downloads","issues_url":"https://api.github.com/repos/neslom/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/neslom/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/neslom/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/neslom/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neslom/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/neslom/dinner_dash/releases{/id}","created_at":"2015-03-09T15:28:39Z","updated_at":"2015-03-15T01:36:16Z","pushed_at":"2015-03-15T21:17:36Z","git_url":"git://github.com/neslom/dinner_dash.git","ssh_url":"git@github.com:neslom/dinner_dash.git","clone_url":"https://github.com/neslom/dinner_dash.git","svn_url":"https://github.com/neslom/dinner_dash","homepage":null,"size":917,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neslom/dinner_dash/pulls/73"},"html":{"href":"https://github.com/neslom/dinner_dash/pull/73"},"issue":{"href":"https://api.github.com/repos/neslom/dinner_dash/issues/73"},"comments":{"href":"https://api.github.com/repos/neslom/dinner_dash/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/neslom/dinner_dash/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/neslom/dinner_dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neslom/dinner_dash/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/neslom/dinner_dash/statuses/e1e792371e693305983c0bebd2c1578e2164db78"}}}}