From e41ede0a6b46a485d3d62b80acac0b854bd94e65 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 31 Jan 2015 17:30:41 +0100 Subject: [PATCH] Forgot the return statement --- app/controllers/HomeController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/HomeController.php b/app/controllers/HomeController.php index b072dd4867..b9e15a285a 100644 --- a/app/controllers/HomeController.php +++ b/app/controllers/HomeController.php @@ -77,7 +77,7 @@ class HomeController extends BaseController $preferences->set('viewRange', $range); Session::forget('range'); } - Redirect::to(URL::previous()); + return Redirect::to(URL::previous()); } /** @@ -86,7 +86,7 @@ class HomeController extends BaseController public function sessionNext() { Navigation::next(); - Redirect::to(URL::previous()); + return Redirect::to(URL::previous()); } @@ -96,6 +96,6 @@ class HomeController extends BaseController public function sessionPrev() { Navigation::prev(); - Redirect::to(URL::previous()); + return Redirect::to(URL::previous()); } }