mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-03 20:20:37 -06:00
New flush method.
This commit is contained in:
parent
98ee70f04e
commit
638f38d823
@ -6,7 +6,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface;
|
||||
use Input;
|
||||
use Preferences;
|
||||
use Session;
|
||||
|
||||
use Redirect;
|
||||
/**
|
||||
* Class HomeController
|
||||
*
|
||||
@ -30,6 +30,11 @@ class HomeController extends Controller
|
||||
Session::put('end', $end);
|
||||
}
|
||||
|
||||
public function flush() {
|
||||
Session::clear();
|
||||
return Redirect::route('index');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user