File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public function defaultOrderBy(RestRequest $request): array
88
88
*/
89
89
public function isAutomaticGatingEnabled (): bool
90
90
{
91
- return config ('rest.automatic_gates.enabled ' );
91
+ return config ('rest.automatic_gates.enabled ' , true );
92
92
}
93
93
94
94
/**
@@ -98,7 +98,7 @@ public function isAutomaticGatingEnabled(): bool
98
98
*/
99
99
public function isAuthorizingEnabled (): bool
100
100
{
101
- return config ('rest.authorizations.enabled ' );
101
+ return config ('rest.authorizations.enabled ' , true );
102
102
}
103
103
104
104
/**
@@ -108,7 +108,7 @@ public function isAuthorizingEnabled(): bool
108
108
*/
109
109
public function isAuthorizationCacheEnabled (): bool
110
110
{
111
- return config ('rest.authorizations.cache.enabled ' );
111
+ return config ('rest.authorizations.cache.enabled ' , true );
112
112
}
113
113
114
114
/**
You can’t perform that action at this time.
0 commit comments