Browse Source

Removing unnecessary condition to set the status on redirect

Juan Basso 11 years ago
parent
commit
875e10f9da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Controller/Controller.php

+ 1 - 1
src/Controller/Controller.php

@@ -506,7 +506,7 @@ class Controller implements EventListenerInterface
         $this->autoRender = false;
 
         $response = $this->response;
-        if ($status && $response->statusCode() === 200) {
+        if ($status) {
             $response->statusCode($status);
         }