Skip to content

Commit

Permalink
Corrected migration stub
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisreedio committed Aug 28, 2023
1 parent 778098f commit 7ad2b40
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use App\Models\User;

return new class extends Migration
{
Expand Down
2 changes: 1 addition & 1 deletion src/Controllers/SocialmentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Illuminate\Routing\Controller;
use Laravel\Socialite\Facades\Socialite;

class OAuthController extends Controller
class SocialmentController extends Controller
{
use AuthorizesRequests;
use ValidatesRequests;
Expand Down
12 changes: 6 additions & 6 deletions src/SocialmentServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ public function packageBooted(): void
$this->getAssetPackageName()
);

FilamentAsset::registerScriptData(
$this->getScriptData(),
$this->getAssetPackageName()
);
// FilamentAsset::registerScriptData(
// $this->getScriptData(),
// $this->getAssetPackageName()
// );

// Icon Registration
FilamentIcon::register($this->getIcons());
Expand Down Expand Up @@ -104,8 +104,8 @@ protected function getAssets(): array
{
return [
// AlpineComponent::make('socialment', __DIR__ . '/../resources/dist/components/socialment.js'),
Css::make('socialment-styles', __DIR__ . '/../resources/dist/socialment.css'),
Js::make('socialment-scripts', __DIR__ . '/../resources/dist/socialment.js'),
// Css::make('socialment-styles', __DIR__ . '/../resources/dist/socialment.css'),
// Js::make('socialment-scripts', __DIR__ . '/../resources/dist/socialment.js'),
];
}

Expand Down

0 comments on commit 7ad2b40

Please sign in to comment.