1
0
forked from s421507/eOSP2

Drobne poprawki

This commit is contained in:
Krzysztof Strzelecki 2020-07-20 02:43:03 +02:00
parent c807284aa8
commit aa6ef74832
2 changed files with 12 additions and 8 deletions

View File

@ -1,6 +1,10 @@
@extends('layout.app') @extends('layout.app')
@if( auth()->check() )
@section('center-area')
@parent
Jesteś już zarejestrowany(a).
@stop
@else
@section('center-area') @section('center-area')
@parent @parent
<h2>Rejestracja</h2> <h2>Rejestracja</h2>
@ -51,3 +55,5 @@
</form> </form>
@stop @stop
@endif

View File

@ -11,10 +11,8 @@
| |
*/ */
Route::get('/', function () {
return view('depot');
});
Route::get('/', 'fireStationController@create');
Route::get('/dokumentacja', function(){ Route::get('/dokumentacja', function(){
@ -23,9 +21,9 @@ Route::get('/dokumentacja', function(){
Route::resource('pdfController', 'pdfController'); Route::resource('pdfController', 'pdfController');
Route::get('/straznica', function(){ //Route::get('/straznica', function(){
return view('depot'); // return view('depot');
}); //});
Route::get('/pojazdy', function(){ Route::get('/pojazdy', function(){