Skip to content

Commit

Permalink
Remove view publishing and fix config name
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Butcher committed Jan 6, 2021
1 parent 8051583 commit 0bd14df
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/SocialstreamServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use App\Actions\Jetstream\CreateUserFromProvider;
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
use Illuminate\View\Compilers\BladeCompiler;
Expand All @@ -22,7 +21,7 @@ class SocialstreamServiceProvider extends ServiceProvider
*/
public function register()
{
$this->mergeConfigFrom(__DIR__.'/../config/socialstream.php', 'jetstream');
$this->mergeConfigFrom(__DIR__.'/../config/socialstream.php', 'socialstream');

$this->app->afterResolving(BladeCompiler::class, function () {
if (config('jetstream.stack') === 'livewire' && class_exists(Livewire::class)) {
Expand Down Expand Up @@ -67,10 +66,6 @@ protected function configurePublishing()
__DIR__.'/../config/socialstream.php' => config_path('socialstream.php'),
], 'socialstream-config');

$this->publishes([
__DIR__.'/../resources/views' => resource_path('views/vendor/socialstream'),
], 'socialstream-views');

$this->publishes([
__DIR__.'/../database/migrations/2014_10_12_000000_create_users_table.php' => database_path('migrations/2014_10_12_000000_create_users_table.php'),
__DIR__.'/../database/migrations/2020_12_22_000000_create_connected_accounts_table.php' => database_path('migrations/2020_12_22_000000_create_connected_accounts_table.php'),
Expand Down

0 comments on commit 0bd14df

Please sign in to comment.