Skip to content

Commit 52dabf2

Browse files
authored
Replace 'home' route name with dynamic value using getShopifyConfig in token.blade.php (#375)
1 parent cb11a03 commit 52dabf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/views/auth/token.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
4444
// If shopify is not defined, then we are not in a Shopify context redirect to the homepage as it
4545
if (typeof shopify === 'undefined') {
46-
open("{{ route('home') }}", "_self");
46+
open("{{ route(\Osiset\ShopifyApp\Util::getShopifyConfig('route_names.home')) }}", "_self");
4747
}
4848
4949
shopify.idToken().then((token) => {

0 commit comments

Comments
 (0)