-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathStartup.cs
More file actions
29 lines (27 loc) · 970 Bytes
/
Startup.cs
File metadata and controls
29 lines (27 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Fluid;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.ContentManagement.Handlers;
using OrchardCore.ContentTypes.Editors;
using OrchardCore.Data.Migration;
using OrchardCore.Modules;
namespace OrchardCoreContrib.IssueTracker;
public class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
services.AddDataMigration<Migrations>();
}
public override void Configure(IApplicationBuilder builder, IEndpointRouteBuilder routes, IServiceProvider serviceProvider)
{
routes.MapAreaControllerRoute(
name: "Home",
areaName: "OrchardCoreContrib.IssueTracker",
pattern: "Home/Index",
defaults: new { controller = "Home", action = "Index" }
);
}
}