diff --git a/resources/views/register.blade.php b/resources/views/register.blade.php
index 7b6a5fd..1d16dd2 100644
--- a/resources/views/register.blade.php
+++ b/resources/views/register.blade.php
@@ -1,6 +1,10 @@
@extends('layout.app')
-
-
+@if( auth()->check() )
+@section('center-area')
+ @parent
+ Jesteś już zarejestrowany(a).
+@stop
+@else
@section('center-area')
@parent
Rejestracja
@@ -51,3 +55,5 @@
@stop
+
+@endif
diff --git a/routes/web.php b/routes/web.php
index b1daed3..8b12e55 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -11,10 +11,8 @@
|
*/
-Route::get('/', function () {
- return view('depot');
-});
+Route::get('/', 'fireStationController@create');
Route::get('/dokumentacja', function(){
@@ -23,9 +21,9 @@ Route::get('/dokumentacja', function(){
Route::resource('pdfController', 'pdfController');
-Route::get('/straznica', function(){
- return view('depot');
-});
+//Route::get('/straznica', function(){
+// return view('depot');
+//});
Route::get('/pojazdy', function(){