Monday, August 10, 2020

Crud Files

Tags

Web Files

    <?php


use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/'function () {
    return view('welcome');
});

Auth::routes();

Route::get('/home''HomeController@index')->name('home');

Auth::routes();

Route::get('/home''HomeController@index')->name('home');

Auth::routes();

Route::get('/home''HomeController@index')->name('home');

Auth::routes();

Route::get('/home''HomeController@index')->name('home');


//Route::resource('admin/user','admin\adminform');
//Route::resource('admin/user','admin\userform1');

Route::resource('admin/demo','admin\demoform');

Route::resource('admin/user','admin\userform');

Route::resource('admin/department','admin\departmentform');

Route::resource('admin/company','admin\companyform');

Route::resource('admin/country','admin\countryname'); // admin\country -> this is controller..

Route::resource('admin/state','admin\stateform');

Route::resource('admin/city','admin\cityform');

Route::resource('admin/image','admin\imageform');

Route::resource('admin/cust','admin\cust123');


EmoticonEmoticon