File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments