mirror of
https://github.com/Aviortheking/CA_LARAVEL.git
synced 2025-04-23 19:32:11 +00:00
24 lines
787 B
PHP
Executable File
24 lines
787 B
PHP
Executable File
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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('home');
|
|
});
|
|
|
|
Route::get('contact-us', 'ContactUSController@contactUS');
|
|
Route::post('contact-us', ['as' => 'contactus.store', 'uses' => 'ContactUSController@contactUSPost']);
|
|
|
|
Auth::routes();
|
|
|
|
Route::get('/home', 'HomeController@index')->name('home');
|
|
Route::get('admin/home', 'HomeController@adminHome')->name('admin.home')->middleware('is_admin'); |