From 353b96154c5ccd06710daec8bc7a69ad12bceaff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 10 Nov 2019 15:54:02 +0100 Subject: [PATCH] Universal routes --- docs/source/v2/universal-routes.blade.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/source/v2/universal-routes.blade.md diff --git a/docs/source/v2/universal-routes.blade.md b/docs/source/v2/universal-routes.blade.md new file mode 100644 index 0000000..acdfea6 --- /dev/null +++ b/docs/source/v2/universal-routes.blade.md @@ -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.