mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Universal routes
This commit is contained in:
parent
87f25f23f3
commit
353b96154c
1 changed files with 12 additions and 0 deletions
12
docs/source/v2/universal-routes.blade.md
Normal file
12
docs/source/v2/universal-routes.blade.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: Universal Routes
|
||||
description: Universal Routes
|
||||
extends: _layouts.documentation
|
||||
section: content
|
||||
---
|
||||
|
||||
# Universal Routes {#universal-routes}
|
||||
|
||||
You may want to use some routes, such as `Auth::routes()`, in both your tenant app and your central app. To do this, use the `universal` middleware group on the route(s).
|
||||
|
||||
Another example of when you might want to do this is if you want to use [Laravel Nova in the tenant app]({{ $page->link('nova') }}) as well as in the central app.
|
||||
Loading…
Add table
Add a link
Reference in a new issue