2020-06-08 08:04:45 +00:00
|
|
|
<?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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2020-06-08 13:08:46 +00:00
|
|
|
//Route::get('/', function () {
|
|
|
|
// return view('welcome');
|
|
|
|
//});
|
|
|
|
|
|
|
|
Route::get("/", "RootController@index")->name("root.index");
|
2020-06-10 10:30:44 +00:00
|
|
|
|
|
|
|
|
2020-06-19 06:15:24 +00:00
|
|
|
Route::get("/login", "UserController@showLogin")->name("users.show-login");
|
|
|
|
Route::post("/login", "UserController@login")->name("users.login");
|
|
|
|
Route::get("/logout", "UserController@logout")->name("users.logout");
|
2020-06-15 06:59:15 +00:00
|
|
|
|
2020-06-22 13:28:20 +00:00
|
|
|
|
2020-06-30 06:55:41 +00:00
|
|
|
Route::get("phones", "PhoneController@index")->name("phones.index");
|
|
|
|
|
2020-06-26 06:20:43 +00:00
|
|
|
|
2020-06-29 08:07:42 +00:00
|
|
|
Route::resource("contacts", "ContactController");
|
2020-06-25 08:34:10 +00:00
|
|
|
Route::resource("menu-plans", "MenuPlanController");
|
2020-06-15 06:59:15 +00:00
|
|
|
Route::resource("users", "UserController");
|
2020-06-30 06:55:41 +00:00
|
|
|
//Route::resource("staff", "StaffController");
|
2020-06-19 06:15:24 +00:00
|
|
|
Route::resource("events", "EventController");
|
|
|
|
Route::resource("washing-machines", "WashingMachineController");
|
|
|
|
Route::resource("washing-reservations", "WashingReservationController");
|
2020-06-24 06:53:07 +00:00
|
|
|
Route::resource("feedbacks", "FeedbackController");
|
2020-06-25 08:34:10 +00:00
|
|
|
Route::resource("external-links", "ExternalLinkController");
|