mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 06:32:40 +01:00
3.6.0 via upgrade from 3.2.0
This commit is contained in:
parent
95901aa228
commit
039c446815
@ -94,7 +94,7 @@ class ExpenseController extends BaseController
|
||||
return View::make('expenses.edit', $data);
|
||||
}
|
||||
|
||||
public function clone(ExpenseRequest $request, $publicId)
|
||||
public function cloneExpense(ExpenseRequest $request, $publicId)
|
||||
{
|
||||
return self::edit($request, $publicId, true);
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ Route::group(['middleware' => ['lookup:user', 'auth:user']], function () {
|
||||
// Expense
|
||||
Route::resource('expenses', 'ExpenseController');
|
||||
Route::get('expenses/create/{vendor_id?}/{client_id?}/{category_id?}', 'ExpenseController@create');
|
||||
Route::get('expenses/{expenses}/clone', 'ExpenseController@clone');
|
||||
Route::get('expenses/{expenses}/clone', 'ExpenseController@cloneExpense');
|
||||
Route::get('api/expenses', 'ExpenseController@getDatatable');
|
||||
Route::get('api/expenses/{id}', 'ExpenseController@getDatatableVendor');
|
||||
Route::post('expenses/bulk', 'ExpenseController@bulk');
|
||||
|
Loading…
Reference in New Issue
Block a user