1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Expense Categories route (#1125)

* Expense categories

* add dependencies

* expense categories

* expense categories

* expense categories

* Change expense categories into a resource route
This commit is contained in:
David Bomba 2016-10-28 19:37:28 +11:00 committed by GitHub
parent bb0ce2da38
commit 8f1a9a2e5d

View File

@ -309,8 +309,7 @@ Route::group(['middleware' => 'api', 'prefix' => 'api/v1'], function()
Route::get('dashboard', 'DashboardApiController@index');
Route::resource('documents', 'DocumentAPIController');
Route::resource('vendors', 'VendorApiController');
Route::post('createExpenseCategory', 'ExpenseCategoryApiController@store');
Route::put('updateExpenseCategory/{expense_category_id}', 'ExpenseCategoryApiController@update');
Route::resource('expense_categories', 'ExpenseCategoryApiController');
});
// Redirects for legacy links