We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18c8a9f + 2b305a7 commit 2fa7f87Copy full SHA for 2fa7f87
src/ShopifyApp/ShopifyAppProvider.php
@@ -38,6 +38,12 @@ public function boot()
38
// Shop observer
39
$shopModel = config('shopify-app.shop_model');
40
$shopModel::observe(ShopObserver::class);
41
+
42
+ // Middlewares
43
+ $this->app['router']->aliasMiddleware('auth.shop', \OhMyBrew\ShopifyApp\Middleware\AuthShop::class);
44
+ $this->app['router']->aliasMiddleware('auth.webhook', \OhMyBrew\ShopifyApp\Middleware\AuthWebhook::class);
45
+ $this->app['router']->aliasMiddleware('auth.proxy', \OhMyBrew\ShopifyApp\Middleware\AuthProxy::class);
46
+ $this->app['router']->aliasMiddleware('billable', \OhMyBrew\ShopifyApp\Middleware\Billable::class);
47
}
48
49
/**
0 commit comments