Skip to content

Commit 60752f2

Browse files
committed
Fixed indentation
For some reason, the indentation was wrong in some of the `TopicRepositoryExtension` blocks, using only one space instead of two.
1 parent 9a63855 commit 60752f2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

OnTopic.AspNetCore.Mvc/TopicRepositoryExtensions.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ RouteData routeData
6464
| that path does need to be defined—thus e.g. {area}/{controller}/{path}.
6565
\-----------------------------------------------------------------------------------------------------------------------*/
6666
var paths = new List<string?>() {
67-
cleanPath($"{rootTopic}/{path}"),
68-
cleanPath($"{area}/{controller}/{action}/{path}"),
69-
cleanPath($"{area}/{controller}/{path}"),
67+
cleanPath($"{rootTopic}/{path}"),
68+
cleanPath($"{area}/{controller}/{action}/{path}"),
69+
cleanPath($"{area}/{controller}/{path}"),
7070
};
7171

7272
/*------------------------------------------------------------------------------------------------------------------------
@@ -75,9 +75,9 @@ RouteData routeData
7575
var topic = (Topic?)null;
7676

7777
foreach (var searchPath in paths) {
78-
if (topic != null) break;
79-
if (String.IsNullOrEmpty(searchPath)) continue;
80-
topic = topicRepository.Load(searchPath);
78+
if (topic != null) break;
79+
if (String.IsNullOrEmpty(searchPath)) continue;
80+
topic = topicRepository.Load(searchPath);
8181
}
8282

8383
return topic;

0 commit comments

Comments
 (0)