Renamed a chart to be more consistent with the others.

This commit is contained in:
James Cole 2015-12-31 07:54:11 +01:00
parent 1b3592d959
commit cc810a5b6f
2 changed files with 2 additions and 2 deletions

View File

@ -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']);

View File

@ -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(