change file controller name

This commit is contained in:
Nabeel Shahzad 2018-04-02 13:42:24 -05:00
parent 9e1e0142e9
commit ccfa904300
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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');