]> _ Git - cubist_gtag.git/commitdiff
wip #2609 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 25 Feb 2019 14:20:51 +0000 (15:20 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 25 Feb 2019 14:20:51 +0000 (15:20 +0100)
src/GtagFrontProvider.php

index 2bf8d5f7d23037931316dfd38aa97051081bf3c9..88a625bfd94df3de6c9e91ee1410eb22dd043adc 100644 (file)
@@ -14,14 +14,14 @@ class GtagServiceProvider extends ServiceProvider
      */
     public function boot()
     {
-        $this->loadViewsFrom(__DIR__.'/../../resources/views', 'gtag');
+        $this->loadViewsFrom(__DIR__ . '/../resources/views', 'gtag');
 
         $this->publishes([
-            __DIR__.'/../../resources/config/config.php' => config_path('googleanalytics.php'),
+            __DIR__ . '/../resources/config/config.php' => config_path('googleanalytics.php'),
         ], 'config');
 
         $this->publishes([
-            __DIR__.'/../../resources/views' => base_path('resources/views/vendor/cubist/gtag'),
+            __DIR__ . '/../resources/views' => base_path('resources/views/vendor/cubist/gtag'),
         ], 'views');
 
         $this->app['view']->creator(
@@ -35,7 +35,7 @@ class GtagServiceProvider extends ServiceProvider
      */
     public function register()
     {
-        $this->mergeConfigFrom(__DIR__ . '/../../resources/config/config.php', 'gtag');
+        $this->mergeConfigFrom(__DIR__ . '/../resources/config/config.php', 'gtag');
 
         $googleAnalytics = new GoogleAnalytics(config('gtag.id'));