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