Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
I can't believe I left this here all this time.
James Cole5b3beded3920
diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.phpindex 5613809750..3320717d1f 100644--- a/app/Http/Controllers/HomeController.php+++ b/app/Http/Controllers/HomeController.php@@ -120,33 +120,4 @@ class HomeController extends Controller);}- /**- * @codeCoverageIgnore- * @return \Illuminate\Http\RedirectResponse|string- */- public function routes()- {- if (!Auth::user()->hasRole('owner')) {- Session::flash('warning', 'This page is broken.');-- return redirect(route('index'));- }- Log::debug('Make log.');-- // get all routes:- $routeCollection = Route::getRoutes();- /** @var \Illuminate\Routing\Route $value */- foreach ($routeCollection as $value) {- $name = $value->getName();- $methods = $value->getMethods();- $isPost = in_array('POST', $methods);- $index = str_replace('.', '-', $name);-- if (strlen($name) > 0 && !$isPost) {- echo "'" . $index . "' => '" . $name . "',<br />";- }- }-- return ' ';- }}