Forgot the return statement

This commit is contained in:
James Cole 2015-01-31 17:30:41 +01:00
parent 4a8b17ac7c
commit e41ede0a6b

View File

@ -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());
}
}