File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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
8888 */
8989 public function isAutomaticGatingEnabled (): bool
9090 {
91- return config ('rest.automatic_gates.enabled ' );
91+ return config ('rest.automatic_gates.enabled ' , true );
9292 }
9393
9494 /**
@@ -98,7 +98,7 @@ public function isAutomaticGatingEnabled(): bool
9898 */
9999 public function isAuthorizingEnabled (): bool
100100 {
101- return config ('rest.authorizations.enabled ' );
101+ return config ('rest.authorizations.enabled ' , true );
102102 }
103103
104104 /**
@@ -108,7 +108,7 @@ public function isAuthorizingEnabled(): bool
108108 */
109109 public function isAuthorizationCacheEnabled (): bool
110110 {
111- return config ('rest.authorizations.cache.enabled ' );
111+ return config ('rest.authorizations.cache.enabled ' , true );
112112 }
113113
114114 /**
You can’t perform that action at this time.
0 commit comments