Skip to content

Firefly III: a personal finances manager

Renamed a chart to be more consistent with the others.

James Colecc810a5b6ffe
diff --git a/app/Http/routes.php b/app/Http/routes.php
index 21dec7d669..07439361ba 100644
--- a/app/Http/routes.php
+++ b/app/Http/routes.php
@@ -422,7 +422,7 @@ Route::group(
Route::get('/chart/category/{category}/all', ['uses' => 'Chart\CategoryController@all']);
// piggy banks:
- Route::get('/chart/piggyBank/{piggyBank}', ['uses' => 'Chart\PiggyBankController@history']);
+ Route::get('/chart/piggy-bank/{piggyBank}', ['uses' => 'Chart\PiggyBankController@history']);
// reports:
Route::get('/chart/report/in-out/{reportType}/{start_date}/{end_date}/{accountList}', ['uses' => 'Chart\ReportController@yearInOut']);
diff --git a/public/js/piggy-banks.js b/public/js/piggy-banks.js
index 4b8aa3ab6b..72789f59b2 100644
--- a/public/js/piggy-banks.js
+++ b/public/js/piggy-banks.js
@@ -15,7 +15,7 @@ $(function () {
$('.removeMoney').on('click', removeMoney);
if (typeof(lineChart) === 'function' && typeof(piggyBankID) !== 'undefined') {
- lineChart('chart/piggyBank/' + piggyBankID, 'piggy-bank-history');
+ lineChart('chart/piggy-bank/' + piggyBankID, 'piggy-bank-history');
}
$('#sortable tbody').sortable(