mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 02:50:39 +00:00
create team folder
This commit is contained in:
@@ -43,6 +43,8 @@ class RouteServiceProvider extends ServiceProvider
|
||||
|
||||
$this->mapFileRoutes();
|
||||
|
||||
$this->mapTeamsRoutes();
|
||||
|
||||
$this->mapWebRoutes();
|
||||
}
|
||||
|
||||
@@ -106,6 +108,13 @@ class RouteServiceProvider extends ServiceProvider
|
||||
->group(base_path('routes/user.php'));
|
||||
}
|
||||
|
||||
protected function mapTeamsRoutes()
|
||||
{
|
||||
Route::prefix('api/teams')
|
||||
->middleware(['api', 'auth:sanctum'])
|
||||
->group(base_path('routes/teams.php'));
|
||||
}
|
||||
|
||||
protected function mapSetupWizardApiRoutes()
|
||||
{
|
||||
Route::middleware(['setup-wizard'])
|
||||
|
||||
@@ -24,7 +24,7 @@ use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
|
||||
/**
|
||||
* @property mixed id
|
||||
* @property string id
|
||||
* @property Setting settings
|
||||
* @property string email
|
||||
* @property mixed favouriteFolders
|
||||
@@ -34,6 +34,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
* @method static forceCreate(array $array)
|
||||
* @method static where(string $string, string $string1, string $toDateString)
|
||||
* @method static create(array $array)
|
||||
* @method static find(mixed $email)
|
||||
*/
|
||||
class User extends Authenticatable implements MustVerifyEmail
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user