Explorar el Código

dd current url

am
farhan hace 2 años
padre
commit
f009d7b826
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      app/Http/Controllers/MainController.php

+ 1
- 0
app/Http/Controllers/MainController.php Ver fichero

13
         $guestbook = GuestBook::all();
13
         $guestbook = GuestBook::all();
14
 
14
 
15
         $currentUrl = $request->fullUrl();
15
         $currentUrl = $request->fullUrl();
16
+        dd($currentUrl);
16
         if ($currentUrl == 'https://aliffayuna.com/') {
17
         if ($currentUrl == 'https://aliffayuna.com/') {
17
             return view('digital-card', compact(['rsvp', 'guestbook']));
18
             return view('digital-card', compact(['rsvp', 'guestbook']));
18
         }
19
         }

Loading…
Cancelar
Guardar