Skip to content

Commit

Permalink
Fixes variable.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Oct 23, 2014
1 parent b2b9cf0 commit d4360cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Traits/ControllerResponseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function redirect($to)
*/
public function suspend($code)
{
if ($status == 404) {
if ($code == 404) {
throw new NotFoundHttpException('');
}

Expand Down

0 comments on commit d4360cb

Please sign in to comment.