New chart route.

This commit is contained in:
James Cole 2015-01-25 10:06:31 +01:00
parent 81640ba06d
commit b2cbadf5d8

View File

@ -227,6 +227,7 @@ Route::group(
// google chart for components (categories + budgets combined)
Route::get('/chart/budget/{budget}/spending/{year?}', ['uses' => 'GoogleChartController@budgetsAndSpending']);
Route::get('/chart/budgets/spending/{year?}', ['uses' => 'GoogleChartController@allBudgetsAndSpending']);
Route::get('/chart/budget/{budget}/{limitrepetition}', ['uses' => 'GoogleChartController@budgetLimitSpending']);
Route::get('/chart/category/{category}/spending/{year}', ['uses' => 'GoogleChartController@categoriesAndSpending']);