Skip to content

Commit

Permalink
directive available in setting package
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Nov 18, 2017
1 parent eb53a74 commit f78237f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Providers;

use Blade;
use Illuminate\Support\ServiceProvider;
use Schema;

Expand All @@ -17,11 +16,6 @@ public function boot()
{
// Laravel db fix
Schema::defaultStringLength(191);

// Add setting directive
Blade::directive('setting', function ($expression) {
return "<?php echo setting($expression); ?>";
});
}

/**
Expand Down

0 comments on commit f78237f

Please sign in to comment.