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.
1 parent 18c8a9f commit b2c4422Copy full SHA for b2c4422
src/ShopifyApp/ShopifyAppProvider.php
@@ -38,6 +38,13 @@ 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
50
/**
0 commit comments