Browse Source

add totalPages

master
farhan 4 months ago
parent
commit
7d551f312a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/MainController.php

+ 1
- 1
app/Http/Controllers/MainController.php View File

15
 
15
 
16
         $host = $request->getHost();
16
         $host = $request->getHost();
17
         if ($host == 'aliffayuna.com') {
17
         if ($host == 'aliffayuna.com') {
18
-            return view('digital-card', compact(['rsvp', 'guestbooks']));
18
+            return view('digital-card', compact(['rsvp', 'guestbooks', 'totalPages']));
19
         } else if ($host == 'rsvp.aliffayuna.com') {
19
         } else if ($host == 'rsvp.aliffayuna.com') {
20
             return view('rsvp-digital-card');
20
             return view('rsvp-digital-card');
21
         } else {
21
         } else {

Loading…
Cancel
Save