Code improvements
This commit is contained in:
1 parent
d23e6c3914
commit
4bb64b0053
51 files changed
+30702
-87
No files matched your search
@@ -8,7 +8,7 @@ class LvOnlyMiddleware
|
||||
{
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if (app('tenant')->slug !== 'lv') {
|
||||
if (currentTenant()->slug !== 'lv') {
|
||||
return redirect('/admin')->with('message', 'Diese Funktion ist nur auf LV-Ebene verfügbar.');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user