mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Removed billing index page
This commit is contained in:
parent
0521c99c2e
commit
5a240c74cc
@ -220,17 +220,6 @@
|
|||||||
"action": "Index"
|
"action": "Index"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Name": "Billing.Index",
|
|
||||||
"HostTypes": [ "Full" ],
|
|
||||||
"SubDomains": [ "billing" ],
|
|
||||||
"Pattern": "",
|
|
||||||
"Area": "Billing",
|
|
||||||
"Defaults": {
|
|
||||||
"controller": "Billing",
|
|
||||||
"action": "Index"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Name": "Billing.Subscriptions",
|
"Name": "Billing.Subscriptions",
|
||||||
"HostTypes": [ "Full" ],
|
"HostTypes": [ "Full" ],
|
||||||
|
@ -26,12 +26,6 @@ namespace Teknik.Areas.Billing.Controllers
|
|||||||
{
|
{
|
||||||
public BillingController(ILogger<Logger> logger, Config config, TeknikEntities dbContext) : base(logger, config, dbContext) { }
|
public BillingController(ILogger<Logger> logger, Config config, TeknikEntities dbContext) : base(logger, config, dbContext) { }
|
||||||
|
|
||||||
[AllowAnonymous]
|
|
||||||
public IActionResult Index()
|
|
||||||
{
|
|
||||||
return View(new BillingViewModel() { StripePublishKey = _config.BillingConfig.StripePublishApiKey });
|
|
||||||
}
|
|
||||||
|
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[TrackPageView]
|
[TrackPageView]
|
||||||
public IActionResult ViewSubscriptions()
|
public IActionResult ViewSubscriptions()
|
||||||
|
Loading…
Reference in New Issue
Block a user