mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Better number formatting.
This commit is contained in:
@@ -158,9 +158,12 @@ class HomeController extends Controller
|
||||
|
||||
$name = $route->getName();
|
||||
$methods = $route->getMethods();
|
||||
$search = ['{account}', '{what}', '{rule}', '{tj}'];
|
||||
$replace = [1, 'asset', 1, 1];
|
||||
$url = str_replace($search, $replace, $route->getUri());
|
||||
|
||||
if (!is_null($name) && in_array('GET', $methods) && !$this->startsWithAny($ignore, $name)) {
|
||||
echo $name . '<br>';
|
||||
echo '<a href="/' . $url . '" title="' . $name . '">' . $name . '</a><br>';
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user