mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-27 03:10:32 -06:00
Forgot the return statement
This commit is contained in:
parent
4a8b17ac7c
commit
e41ede0a6b
@ -77,7 +77,7 @@ class HomeController extends BaseController
|
|||||||
$preferences->set('viewRange', $range);
|
$preferences->set('viewRange', $range);
|
||||||
Session::forget('range');
|
Session::forget('range');
|
||||||
}
|
}
|
||||||
Redirect::to(URL::previous());
|
return Redirect::to(URL::previous());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -86,7 +86,7 @@ class HomeController extends BaseController
|
|||||||
public function sessionNext()
|
public function sessionNext()
|
||||||
{
|
{
|
||||||
Navigation::next();
|
Navigation::next();
|
||||||
Redirect::to(URL::previous());
|
return Redirect::to(URL::previous());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,6 +96,6 @@ class HomeController extends BaseController
|
|||||||
public function sessionPrev()
|
public function sessionPrev()
|
||||||
{
|
{
|
||||||
Navigation::prev();
|
Navigation::prev();
|
||||||
Redirect::to(URL::previous());
|
return Redirect::to(URL::previous());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user