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 @@ -19,7 +19,7 @@ public function index()
1919 $ values = $ data ->all ();
2020
2121 // Get a blueprint.
22- $ blueprint = Blueprint:: setDirectory (__DIR__ . '/../../../resources/blueprints ' )->find ('redirects ' );
22+ $ blueprint = with ( new Blueprint )-> setDirectory (__DIR__ . '/../../../resources/blueprints ' )->find ('redirects ' );
2323 // Get a Fields object
2424 $ fields = $ blueprint ->fields ();
2525 // Add the values to the object
@@ -41,7 +41,7 @@ public function create(Request $request)
4141 $ data = new Data ('redirects ' );
4242
4343 // Get a blueprint.
44- $ blueprint = Blueprint:: setDirectory (__DIR__ . '/../../../resources/blueprints ' )->find ('redirects ' );
44+ $ blueprint = with ( new Blueprint )-> setDirectory (__DIR__ . '/../../../resources/blueprints ' )->find ('redirects ' );
4545
4646 // Get a Fields object
4747 $ fields = $ blueprint ->fields ();
You can’t perform that action at this time.
0 commit comments