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:
parent
bb0ce2da38
commit
8f1a9a2e5d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user