Commit 85ce3a10 by Juliper

update route

parent 538bdd40
......@@ -13,7 +13,7 @@ use App\Homestay;
Route::get('/', function () {
$data = Homestay::all();
//dd($data);
dd($data);
return view('index')->with('data',$data);
});
......@@ -40,22 +40,12 @@ Route::get('profiles', function(){
Route::group(['middleware' => 'auth'], function () {
});
<<<<<<< HEAD
=======
Route::get('EditRoom', function(){
Route::get('adminlte', function(){
return view('welcome');
});
Route::get('EditRoom', function(){
return view('adminlte::layouts.owner.EditRoom');
});
>>>>>>> f4c075b010d2b76c6543df092b6fd1beaeba6a8e
Route::get('AddBook', function(){
return view('adminlte::layouts.owner.AddBookManual');
});
......@@ -96,3 +86,4 @@ Route::put('listPengajuanHomestay/{id}','AdminController@AccPengajuanHomestay');
Route::resource('profile','ProfileController');
Route::get('reqFasilitas','OwnerController@requestFasilitas');
Route::post('reqFasilitas','OwnerController@storeRequest');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment