Skip to content

Commit c3d7548

Browse files
committed
Helpers moved under Core, ignore Cake files
1 parent f2b1d91 commit c3d7548

File tree

8 files changed

+12
-8
lines changed

8 files changed

+12
-8
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,6 @@ PublishProfiles/
236236
**/Logs/*
237237

238238
package-lock.json
239+
240+
build/tools
241+
build/publish

Blogifier.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ VisualStudioVersion = 16.0.28803.352
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4E0164ED-2249-4973-B3FD-180172EBCD0A}"
77
ProjectSection(SolutionItems) = preProject
8+
.gitignore = .gitignore
89
azure-pipelines.yml = azure-pipelines.yml
910
README.md = README.md
1011
EndProjectSection

plugins/Common/Views/_ViewImports.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
@using Core.Data
33
@using Core.Data.Models
44
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
5-
@addTagHelper Core.Services.ActiveRouteTagHelper, Core
5+
@addTagHelper Core.Helpers.ActiveRouteTagHelper, Core

src/App/Pages/_ViewImports.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
@using Core.Data.Models
44
@using Microsoft.AspNetCore.Mvc.Localization
55
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
6-
@addTagHelper App.Helpers.ActiveRouteTagHelper, App
6+
@addTagHelper Core.Helpers.ActiveRouteTagHelper, Core

src/App/Views/_ViewImports.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
@using Core.Data
33
@using Core.Data.Models
44
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
5-
@addTagHelper Core.Services.ActiveRouteTagHelper, Core
5+
@addTagHelper Core.Helpers.ActiveRouteTagHelper, Core

src/Core/Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>netcoreapp2.2</TargetFramework>
5-
<Version>2.3.1.7</Version>
5+
<Version>2.3.1.8</Version>
66
</PropertyGroup>
77

88
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Microsoft.AspNetCore.Razor.TagHelpers;
44
using System.Linq;
55

6-
namespace App.Helpers
6+
namespace Core.Helpers
77
{
88
[HtmlTargetElement(Attributes = "is-active-route")]
99
public class ActiveRouteTagHelper : TagHelper
@@ -59,4 +59,4 @@ private void MakeActive(TagHelperOutput output)
5959
}
6060
}
6161
}
62-
}
62+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.AspNetCore.Mvc.ModelBinding;
22
using System.Linq;
33

4-
namespace App.Helpers
4+
namespace Core.Helpers
55
{
66
public class ModelHelper
77
{
@@ -23,4 +23,4 @@ public static string GetFirstValidationError(ModelStateDictionary modelState)
2323
return "";
2424
}
2525
}
26-
}
26+
}

0 commit comments

Comments
 (0)