forked from s421507/eOSP2
55 lines
1.2 KiB
PHP
55 lines
1.2 KiB
PHP
|
<?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('depot');
|
||
|
});
|
||
|
|
||
|
|
||
|
Route::get('/strazacy', function (){
|
||
|
return view('firefighters');
|
||
|
});
|
||
|
|
||
|
Route::get('/dokumentacja', function(){
|
||
|
return view('documents');
|
||
|
});
|
||
|
|
||
|
Route::get('/straznica', function(){
|
||
|
return view('depot');
|
||
|
});
|
||
|
|
||
|
Route::get('/jednostka', function(){
|
||
|
return view('unit');
|
||
|
});
|
||
|
|
||
|
Route::get('/pojazdy', function(){
|
||
|
return view('vehicles');
|
||
|
});
|
||
|
|
||
|
Route::get('/wyjazdy', function(){
|
||
|
return view('operation');
|
||
|
});
|
||
|
|
||
|
Route::get('/register', 'RegistrationController@create');
|
||
|
Route::post('/register', 'RegistrationController@store');
|
||
|
|
||
|
|
||
|
|
||
|
Route::get('/login', 'LogowanieController@showLogin');
|
||
|
Route::post('/login', 'LogowanieController@doLogin');
|
||
|
|
||
|
|
||
|
//Auth::routes();
|
||
|
//
|
||
|
//Route::get('/home', 'HomeController@index')->name('home');
|