File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,8 @@ private function registerGlobals()
283283 $ this ->app ->bind ('statamic.eloquent.global_sets.model ' , function () {
284284 return config ('statamic.eloquent-driver.global_sets.model ' );
285285 });
286+
287+ Statamic::repository (GlobalRepositoryContract::class, GlobalRepository::class);
286288 }
287289
288290 private function registerGlobalVariables ()
@@ -298,8 +300,6 @@ private function registerGlobalVariables()
298300 $ this ->app ->bind ('statamic.eloquent.global_set_variables.model ' , function () use ($ usingOldConfigKeys ) {
299301 return config ($ usingOldConfigKeys ? 'statamic.eloquent-driver.global_sets.variables_model ' : 'statamic.eloquent-driver.global_set_variables.model ' );
300302 });
301-
302- Statamic::repository (GlobalRepositoryContract::class, GlobalRepository::class);
303303 }
304304
305305 private function registerRevisions ()
You can’t perform that action at this time.
0 commit comments