From 6418a1c5304a545f359160355222a993ae3ede3d Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Mon, 25 Jul 2016 13:31:47 +0100
Subject: [PATCH] Issue #2771733 by joelpittet: Remove _no_big_pipe: TRUE @todo

---
 core/modules/big_pipe/big_pipe.module  | 3 +--
 core/modules/system/system.routing.yml | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/core/modules/big_pipe/big_pipe.module b/core/modules/big_pipe/big_pipe.module
index 18bbbb22cda8..fa0518ad3d1f 100644
--- a/core/modules/big_pipe/big_pipe.module
+++ b/core/modules/big_pipe/big_pipe.module
@@ -58,8 +58,7 @@ function big_pipe_page_attachments(array &$page) {
           '#noscript' => TRUE,
           '#attributes' => [
             'http-equiv' => 'Refresh',
-            // @todo: Switch to Url::fromRoute() once https://www.drupal.org/node/2589967 is resolved.
-            'content' => '0; URL=' . Url::fromUri('internal:/big_pipe/no-js', ['query' => \Drupal::service('redirect.destination')->getAsArray()])->toString(),
+            'content' => '0; URL=' . Url::fromRoute('big_pipe.nojs', [], ['query' => \Drupal::service('redirect.destination')->getAsArray()])->toString(),
           ],
         ],
         'big_pipe_detect_nojs',
diff --git a/core/modules/system/system.routing.yml b/core/modules/system/system.routing.yml
index 547b083058ae..85662e83be6e 100644
--- a/core/modules/system/system.routing.yml
+++ b/core/modules/system/system.routing.yml
@@ -452,8 +452,6 @@ system.batch_page.html:
     _format: 'html'
   options:
     _admin_route: TRUE
-    # @todo Remove the '_no_big_pipe' route option when https://www.drupal.org/node/2589967 lands.
-    _no_big_pipe: TRUE
 
 system.batch_page.json:
   path: '/batch'
-- 
GitLab