Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Created Jun 27, 2021
Embed
What would you like to do?
<?php
Route::group(["middleware" => "subscribed"], function () {
Route::get('/billing-portal', function (Request $request) {
return auth()->user()->redirectToBillingPortal(route('dashboard'));
})->name("billing-portal");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment