{"action":"created","comment":{"url":"https://api.github.com/repos/spree/spree/pulls/comments/77421568","id":77421568,"diff_hunk":"@@ -85,42 +85,42 @@ def update\n       def cancel\n         @order.canceled_by(try_spree_current_user)\n         flash[:success] = Spree.t(:order_canceled)\n-        redirect_to :back\n+        redirect_back fallback_location: spree.edit_admin_order_url(@order)\n       end\n \n       def resume\n         @order.resume!\n         flash[:success] = Spree.t(:order_resumed)\n-        redirect_to :back\n+        redirect_back fallback_location: spree.edit_admin_order_url(@order)\n       end\n \n       def approve\n         @order.approved_by(try_spree_current_user)\n         flash[:success] = Spree.t(:order_approved)\n-        redirect_to :back\n+        redirect_back fallback_location: spree.edit_admin_order_url(@order)\n       end\n \n       def resend\n         OrderMailer.confirm_email(@order.id, true).deliver_later\n         flash[:success] = Spree.t(:order_email_resent)\n \n-        redirect_to :back\n+        redirect_back fallback_location: spree.edit_admin_order_url(@order)\n       end\n \n       def open_adjustments\n         adjustments = @order.all_adjustments.closed\n         adjustments.update_all(state: 'open')\n         flash[:success] = Spree.t(:all_adjustments_opened)\n \n-        respond_with(@order) { |format| format.html { redirect_to :back } }\n+        respond_with(@order) { |format| format.html { redirect_back fallback_location: spree.admin_order_adjustments_url(@order) } }\n       end\n \n       def close_adjustments\n         adjustments = @order.all_adjustments.open\n         adjustments.update_all(state: 'closed')\n         flash[:success] = Spree.t(:all_adjustments_closed)\n \n-        respond_with(@order) { |format| format.html { redirect_to :back } }\n+        respond_with(@order) { |format| format.html { redirect_back fallback_location: spree.admin_order_adjustments_url(@order) } }","path":"backend/app/controllers/spree/admin/orders_controller.rb","position":45,"original_position":45,"commit_id":"bda38ba3b36610369e26d5d0307f199425422dc1","original_commit_id":"bda38ba3b36610369e26d5d0307f199425422dc1","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [132/120]","created_at":"2016-09-02T22:41:39Z","updated_at":"2016-09-02T22:41:39Z","html_url":"https://github.com/spree/spree/pull/7555#discussion_r77421568","pull_request_url":"https://api.github.com/repos/spree/spree/pulls/7555","_links":{"self":{"href":"https://api.github.com/repos/spree/spree/pulls/comments/77421568"},"html":{"href":"https://github.com/spree/spree/pull/7555#discussion_r77421568"},"pull_request":{"href":"https://api.github.com/repos/spree/spree/pulls/7555"}}},"pull_request":{"url":"https://api.github.com/repos/spree/spree/pulls/7555","id":82755885,"html_url":"https://github.com/spree/spree/pull/7555","diff_url":"https://github.com/spree/spree/pull/7555.diff","patch_url":"https://github.com/spree/spree/pull/7555.patch","issue_url":"https://api.github.com/repos/spree/spree/issues/7555","number":7555,"state":"open","locked":false,"title":"Rails 5 WIP","user":{"login":"damianlegawiec","id":55154,"avatar_url":"https://avatars.githubusercontent.com/u/55154?v=3","gravatar_id":"","url":"https://api.github.com/users/damianlegawiec","html_url":"https://github.com/damianlegawiec","followers_url":"https://api.github.com/users/damianlegawiec/followers","following_url":"https://api.github.com/users/damianlegawiec/following{/other_user}","gists_url":"https://api.github.com/users/damianlegawiec/gists{/gist_id}","starred_url":"https://api.github.com/users/damianlegawiec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianlegawiec/subscriptions","organizations_url":"https://api.github.com/users/damianlegawiec/orgs","repos_url":"https://api.github.com/users/damianlegawiec/repos","events_url":"https://api.github.com/users/damianlegawiec/events{/privacy}","received_events_url":"https://api.github.com/users/damianlegawiec/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-25T16:56:12Z","updated_at":"2016-09-02T22:41:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c97cf5d20335e465c96ba0951275e490133c25d0","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/spree/spree/milestones/34","html_url":"https://github.com/spree/spree/milestones/v3.2.x","labels_url":"https://api.github.com/repos/spree/spree/milestones/34/labels","id":1605028,"number":34,"title":"v3.2.x","description":"","creator":{"login":"damianlegawiec","id":55154,"avatar_url":"https://avatars.githubusercontent.com/u/55154?v=3","gravatar_id":"","url":"https://api.github.com/users/damianlegawiec","html_url":"https://github.com/damianlegawiec","followers_url":"https://api.github.com/users/damianlegawiec/followers","following_url":"https://api.github.com/users/damianlegawiec/following{/other_user}","gists_url":"https://api.github.com/users/damianlegawiec/gists{/gist_id}","starred_url":"https://api.github.com/users/damianlegawiec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianlegawiec/subscriptions","organizations_url":"https://api.github.com/users/damianlegawiec/orgs","repos_url":"https://api.github.com/users/damianlegawiec/repos","events_url":"https://api.github.com/users/damianlegawiec/events{/privacy}","received_events_url":"https://api.github.com/users/damianlegawiec/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":28,"state":"open","created_at":"2016-02-25T11:48:10Z","updated_at":"2016-09-01T14:04:13Z","due_on":"2016-09-19T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/spree/spree/pulls/7555/commits","review_comments_url":"https://api.github.com/repos/spree/spree/pulls/7555/comments","review_comment_url":"https://api.github.com/repos/spree/spree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spree/spree/issues/7555/comments","statuses_url":"https://api.github.com/repos/spree/spree/statuses/bda38ba3b36610369e26d5d0307f199425422dc1","head":{"label":"spark-solutions:rails_5_epic","ref":"rails_5_epic","sha":"bda38ba3b36610369e26d5d0307f199425422dc1","user":{"login":"spark-solutions","id":10135622,"avatar_url":"https://avatars.githubusercontent.com/u/10135622?v=3","gravatar_id":"","url":"https://api.github.com/users/spark-solutions","html_url":"https://github.com/spark-solutions","followers_url":"https://api.github.com/users/spark-solutions/followers","following_url":"https://api.github.com/users/spark-solutions/following{/other_user}","gists_url":"https://api.github.com/users/spark-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/spark-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark-solutions/subscriptions","organizations_url":"https://api.github.com/users/spark-solutions/orgs","repos_url":"https://api.github.com/users/spark-solutions/repos","events_url":"https://api.github.com/users/spark-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/spark-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":49967412,"name":"spree","full_name":"spark-solutions/spree","owner":{"login":"spark-solutions","id":10135622,"avatar_url":"https://avatars.githubusercontent.com/u/10135622?v=3","gravatar_id":"","url":"https://api.github.com/users/spark-solutions","html_url":"https://github.com/spark-solutions","followers_url":"https://api.github.com/users/spark-solutions/followers","following_url":"https://api.github.com/users/spark-solutions/following{/other_user}","gists_url":"https://api.github.com/users/spark-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/spark-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark-solutions/subscriptions","organizations_url":"https://api.github.com/users/spark-solutions/orgs","repos_url":"https://api.github.com/users/spark-solutions/repos","events_url":"https://api.github.com/users/spark-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/spark-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spark-solutions/spree","description":"Spree is a complete open source e-commerce solution for Ruby on Rails.","fork":true,"url":"https://api.github.com/repos/spark-solutions/spree","forks_url":"https://api.github.com/repos/spark-solutions/spree/forks","keys_url":"https://api.github.com/repos/spark-solutions/spree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spark-solutions/spree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spark-solutions/spree/teams","hooks_url":"https://api.github.com/repos/spark-solutions/spree/hooks","issue_events_url":"https://api.github.com/repos/spark-solutions/spree/issues/events{/number}","events_url":"https://api.github.com/repos/spark-solutions/spree/events","assignees_url":"https://api.github.com/repos/spark-solutions/spree/assignees{/user}","branches_url":"https://api.github.com/repos/spark-solutions/spree/branches{/branch}","tags_url":"https://api.github.com/repos/spark-solutions/spree/tags","blobs_url":"https://api.github.com/repos/spark-solutions/spree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spark-solutions/spree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spark-solutions/spree/git/refs{/sha}","trees_url":"https://api.github.com/repos/spark-solutions/spree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spark-solutions/spree/statuses/{sha}","languages_url":"https://api.github.com/repos/spark-solutions/spree/languages","stargazers_url":"https://api.github.com/repos/spark-solutions/spree/stargazers","contributors_url":"https://api.github.com/repos/spark-solutions/spree/contributors","subscribers_url":"https://api.github.com/repos/spark-solutions/spree/subscribers","subscription_url":"https://api.github.com/repos/spark-solutions/spree/subscription","commits_url":"https://api.github.com/repos/spark-solutions/spree/commits{/sha}","git_commits_url":"https://api.github.com/repos/spark-solutions/spree/git/commits{/sha}","comments_url":"https://api.github.com/repos/spark-solutions/spree/comments{/number}","issue_comment_url":"https://api.github.com/repos/spark-solutions/spree/issues/comments{/number}","contents_url":"https://api.github.com/repos/spark-solutions/spree/contents/{+path}","compare_url":"https://api.github.com/repos/spark-solutions/spree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spark-solutions/spree/merges","archive_url":"https://api.github.com/repos/spark-solutions/spree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spark-solutions/spree/downloads","issues_url":"https://api.github.com/repos/spark-solutions/spree/issues{/number}","pulls_url":"https://api.github.com/repos/spark-solutions/spree/pulls{/number}","milestones_url":"https://api.github.com/repos/spark-solutions/spree/milestones{/number}","notifications_url":"https://api.github.com/repos/spark-solutions/spree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spark-solutions/spree/labels{/name}","releases_url":"https://api.github.com/repos/spark-solutions/spree/releases{/id}","deployments_url":"https://api.github.com/repos/spark-solutions/spree/deployments","created_at":"2016-01-19T16:47:28Z","updated_at":"2016-03-06T22:56:21Z","pushed_at":"2016-09-02T22:39:11Z","git_url":"git://github.com/spark-solutions/spree.git","ssh_url":"git@github.com:spark-solutions/spree.git","clone_url":"https://github.com/spark-solutions/spree.git","svn_url":"https://github.com/spark-solutions/spree","homepage":"http://spreecommerce.com","size":75356,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"spree:master","ref":"master","sha":"f53d2fd5a48e2ad569efc74488add7d68fcba3a1","user":{"login":"spree","id":56702,"avatar_url":"https://avatars.githubusercontent.com/u/56702?v=3","gravatar_id":"","url":"https://api.github.com/users/spree","html_url":"https://github.com/spree","followers_url":"https://api.github.com/users/spree/followers","following_url":"https://api.github.com/users/spree/following{/other_user}","gists_url":"https://api.github.com/users/spree/gists{/gist_id}","starred_url":"https://api.github.com/users/spree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spree/subscriptions","organizations_url":"https://api.github.com/users/spree/orgs","repos_url":"https://api.github.com/users/spree/repos","events_url":"https://api.github.com/users/spree/events{/privacy}","received_events_url":"https://api.github.com/users/spree/received_events","type":"Organization","site_admin":false},"repo":{"id":3314,"name":"spree","full_name":"spree/spree","owner":{"login":"spree","id":56702,"avatar_url":"https://avatars.githubusercontent.com/u/56702?v=3","gravatar_id":"","url":"https://api.github.com/users/spree","html_url":"https://github.com/spree","followers_url":"https://api.github.com/users/spree/followers","following_url":"https://api.github.com/users/spree/following{/other_user}","gists_url":"https://api.github.com/users/spree/gists{/gist_id}","starred_url":"https://api.github.com/users/spree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spree/subscriptions","organizations_url":"https://api.github.com/users/spree/orgs","repos_url":"https://api.github.com/users/spree/repos","events_url":"https://api.github.com/users/spree/events{/privacy}","received_events_url":"https://api.github.com/users/spree/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spree/spree","description":"Spree is a complete open source e-commerce solution for Ruby on Rails.","fork":false,"url":"https://api.github.com/repos/spree/spree","forks_url":"https://api.github.com/repos/spree/spree/forks","keys_url":"https://api.github.com/repos/spree/spree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spree/spree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spree/spree/teams","hooks_url":"https://api.github.com/repos/spree/spree/hooks","issue_events_url":"https://api.github.com/repos/spree/spree/issues/events{/number}","events_url":"https://api.github.com/repos/spree/spree/events","assignees_url":"https://api.github.com/repos/spree/spree/assignees{/user}","branches_url":"https://api.github.com/repos/spree/spree/branches{/branch}","tags_url":"https://api.github.com/repos/spree/spree/tags","blobs_url":"https://api.github.com/repos/spree/spree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spree/spree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spree/spree/git/refs{/sha}","trees_url":"https://api.github.com/repos/spree/spree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spree/spree/statuses/{sha}","languages_url":"https://api.github.com/repos/spree/spree/languages","stargazers_url":"https://api.github.com/repos/spree/spree/stargazers","contributors_url":"https://api.github.com/repos/spree/spree/contributors","subscribers_url":"https://api.github.com/repos/spree/spree/subscribers","subscription_url":"https://api.github.com/repos/spree/spree/subscription","commits_url":"https://api.github.com/repos/spree/spree/commits{/sha}","git_commits_url":"https://api.github.com/repos/spree/spree/git/commits{/sha}","comments_url":"https://api.github.com/repos/spree/spree/comments{/number}","issue_comment_url":"https://api.github.com/repos/spree/spree/issues/comments{/number}","contents_url":"https://api.github.com/repos/spree/spree/contents/{+path}","compare_url":"https://api.github.com/repos/spree/spree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spree/spree/merges","archive_url":"https://api.github.com/repos/spree/spree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spree/spree/downloads","issues_url":"https://api.github.com/repos/spree/spree/issues{/number}","pulls_url":"https://api.github.com/repos/spree/spree/pulls{/number}","milestones_url":"https://api.github.com/repos/spree/spree/milestones{/number}","notifications_url":"https://api.github.com/repos/spree/spree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spree/spree/labels{/name}","releases_url":"https://api.github.com/repos/spree/spree/releases{/id}","deployments_url":"https://api.github.com/repos/spree/spree/deployments","created_at":"2008-03-10T14:45:35Z","updated_at":"2016-09-02T11:33:42Z","pushed_at":"2016-09-02T22:39:13Z","git_url":"git://github.com/spree/spree.git","ssh_url":"git@github.com:spree/spree.git","clone_url":"https://github.com/spree/spree.git","svn_url":"https://github.com/spree/spree","homepage":"http://spreecommerce.com","size":103421,"stargazers_count":7770,"watchers_count":7770,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3634,"mirror_url":null,"open_issues_count":181,"forks":3634,"open_issues":181,"watchers":7770,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spree/spree/pulls/7555"},"html":{"href":"https://github.com/spree/spree/pull/7555"},"issue":{"href":"https://api.github.com/repos/spree/spree/issues/7555"},"comments":{"href":"https://api.github.com/repos/spree/spree/issues/7555/comments"},"review_comments":{"href":"https://api.github.com/repos/spree/spree/pulls/7555/comments"},"review_comment":{"href":"https://api.github.com/repos/spree/spree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spree/spree/pulls/7555/commits"},"statuses":{"href":"https://api.github.com/repos/spree/spree/statuses/bda38ba3b36610369e26d5d0307f199425422dc1"}}}}
{"actor":{"display_login":"houndci-bot"}}