File tree Expand file tree Collapse file tree 2 files changed +2
-23
lines changed Expand file tree Collapse file tree 2 files changed +2
-23
lines changed Original file line number Diff line number Diff line change 55 <meta name =" viewport" content =" width=device-width, initial-scale=1.0" >
66 <script src =" https://cdn.tailwindcss.com" ></script >
77
8- <title >{{ $title } } - @yield (' title' )</title >
8+ <title >@yield (' title' ) - Laravel User Monitoring </title >
99
1010 @yield (' style' )
1111 <style >
1919 <div class =" px-4 md:px-10 py-4 md:py-7" >
2020 <div class =" flex items-center justify-between" >
2121 <p class =" focus:outline-none text-base sm:text-lg md:text-xl lg:text-2xl font-bold leading-normal text-gray-800" tabindex =" 0" >
22- {{ $title } } 📈
22+ Laravel User Monitoring 📈
2323 </p >
2424 </div >
2525 </div >
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ public function boot()
3939 $ this ->publishViews ();
4040 $ this ->publishMiddleware ();
4141 $ this ->publishRoute ();
42-
43- $ this ->viewComposer ();
4442 }
4543
4644 /**
@@ -102,23 +100,4 @@ private function publishRoute()
102100 __DIR__ . '/../../routes/web.php ' => base_path ('routes/user-monitoring.php ' ),
103101 ], 'laravel-user-monitoring-routes ' );
104102 }
105-
106- /**
107- * View Composer.
108- *
109- * @return void
110- */
111- private function viewComposer ()
112- {
113- view ()->composer ([
114- 'LaravelUserMonitoring::layouts.master ' ,
115- 'LaravelUserMonitoring::visit-monitoring.index ' ,
116- 'LaravelUserMonitoring::actions-monitoring.index ' ,
117- 'LaravelUserMonitoring::authentications-monitoring.index ' ,
118- ], function (View $ view ) {
119- $ title = 'Laravel User Monitoring ' ;
120-
121- $ view ->with ('title ' , $ title );
122- });
123- }
124103}
You can’t perform that action at this time.
0 commit comments