1
0
forked from s421507/eOSP2
eOSP2/routes/web.php

59 lines
1.5 KiB
PHP
Raw Normal View History

2019-07-11 23:55:51 +02:00
<?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('/pojazdy', function(){
return view('vehicles');
});
Route::get('/wyjazdy', function(){
return view('operation');
});
Route::get('/register', 'RegistrationController@create');
Route::post('/register', 'RegistrationController@store');
2019-09-11 00:09:22 +02:00
Route::get('/login', 'SessionsController@create');
Route::post('/login', 'SessionsController@store');
Route::get('/logout', 'SessionsController@destroy');
2019-07-11 23:55:51 +02:00
2019-09-25 02:13:13 +02:00
Route::get('/jednostka', 'fireStationController@create');
2019-09-24 18:05:37 +02:00
Route::post('/jednostka', 'fireStationController@store');
Route::get('/jednostka','DataController@getVoivodeships');
Route::get('/jednostka/getcounties/{id}','DataController@getCounties');
Route::get('/jednostka/getcommunities/{id}','DataController@getCommunities');
2019-07-11 23:55:51 +02:00
//Auth::routes();
//
//Route::get('/home', 'HomeController@index')->name('home');