change file controller name
This commit is contained in:
parent
9e1e0142e9
commit
ccfa904300
@ -13,10 +13,10 @@ use Log;
|
|||||||
use Validator;
|
use Validator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FilesController
|
* Class FileController
|
||||||
* @package App\Http\Controllers\Admin
|
* @package App\Http\Controllers\Admin
|
||||||
*/
|
*/
|
||||||
class FilesController extends Controller
|
class FileController extends Controller
|
||||||
{
|
{
|
||||||
private $fileSvc;
|
private $fileSvc;
|
||||||
|
|
@ -35,8 +35,8 @@ Route::group([
|
|||||||
Route::resource('fares', 'FareController');
|
Route::resource('fares', 'FareController');
|
||||||
|
|
||||||
# files
|
# files
|
||||||
Route::post('files', 'FilesController@store')->name('files.store');
|
Route::post('files', 'FileController@store')->name('files.store');
|
||||||
Route::delete('files/{id}', 'FilesController@destroy')->name('files.delete');
|
Route::delete('files/{id}', 'FileController@destroy')->name('files.delete');
|
||||||
|
|
||||||
# finances
|
# finances
|
||||||
Route::resource('finances', 'FinanceController');
|
Route::resource('finances', 'FinanceController');
|
||||||
|
Loading…
Reference in New Issue
Block a user