summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 21:10:36 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 21:10:36 -0400
commit3f43ebcc0e31db523fa82a163374cebf2f577cde (patch)
tree8b41f6cdd9f2894638e7be94e7268220184a9c76 /src/SMAPI.Web/ViewModels
parentad5bb5b49af49c4668fd30fb2a0e606dcefe4ec0 (diff)
downloadSMAPI-3f43ebcc0e31db523fa82a163374cebf2f577cde.tar.gz
SMAPI-3f43ebcc0e31db523fa82a163374cebf2f577cde.tar.bz2
SMAPI-3f43ebcc0e31db523fa82a163374cebf2f577cde.zip
fix issues with subdomain routing in log UI (#358)
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r--src/SMAPI.Web/ViewModels/LogParserModel.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/SMAPI.Web/ViewModels/LogParserModel.cs b/src/SMAPI.Web/ViewModels/LogParserModel.cs
new file mode 100644
index 00000000..ba31db87
--- /dev/null
+++ b/src/SMAPI.Web/ViewModels/LogParserModel.cs
@@ -0,0 +1,26 @@
+namespace StardewModdingAPI.Web.ViewModels
+{
+ /// <summary>The view model for the log parser page.</summary>
+ public class LogParserModel
+ {
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The root URL for the log parser controller.</summary>
+ public string SectionUrl { get; set; }
+
+
+ /*********
+ ** Public methods
+ *********/
+ /// <summary>Construct an instance.</summary>
+ public LogParserModel() { }
+
+ /// <summary>Construct an instance.</summary>
+ /// <param name="sectionUrl">The root URL for the log parser controller.</param>
+ public LogParserModel(string sectionUrl)
+ {
+ this.SectionUrl = sectionUrl;
+ }
+ }
+}