Skip to content

Commit a6b5c91

Browse files
committed
Set default view to Page
If a view cannot be found in the `/Common/Templates/` directory, then default to `Page`.
1 parent 6aee868 commit a6b5c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ignia.Topics.Web/WebFormsTopicRoutingService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public string View {
231231
/*----------------------------------------------------------------------------------------------------------------------
232232
| Set view, and return
233233
\---------------------------------------------------------------------------------------------------------------------*/
234-
_view = viewName;
234+
_view = viewName?? "Page";
235235
return _view;
236236

237237
}

0 commit comments

Comments
 (0)