diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-28 12:38:30 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-28 12:38:30 -0400 |
commit | fe5b2f62da27ac0e2ddf60240f2b19cf2a404f69 (patch) | |
tree | 7793b1cf575ff098ee008ec2af34a7acdad01ae9 /src/SMAPI.Web/ViewModels | |
parent | d545281ef3d83d4db43d5ca56eb59800c8a1b8d2 (diff) | |
download | SMAPI-fe5b2f62da27ac0e2ddf60240f2b19cf2a404f69.tar.gz SMAPI-fe5b2f62da27ac0e2ddf60240f2b19cf2a404f69.tar.bz2 SMAPI-fe5b2f62da27ac0e2ddf60240f2b19cf2a404f69.zip |
prettify log URL, read paste ID serverside (#358)
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r-- | src/SMAPI.Web/ViewModels/LogParserModel.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/SMAPI.Web/ViewModels/LogParserModel.cs b/src/SMAPI.Web/ViewModels/LogParserModel.cs index ba31db87..b5b3b14c 100644 --- a/src/SMAPI.Web/ViewModels/LogParserModel.cs +++ b/src/SMAPI.Web/ViewModels/LogParserModel.cs @@ -9,6 +9,9 @@ namespace StardewModdingAPI.Web.ViewModels /// <summary>The root URL for the log parser controller.</summary> public string SectionUrl { get; set; } + /// <summary>The paste ID.</summary> + public string PasteID { get; set; } + /********* ** Public methods @@ -18,9 +21,11 @@ namespace StardewModdingAPI.Web.ViewModels /// <summary>Construct an instance.</summary> /// <param name="sectionUrl">The root URL for the log parser controller.</param> - public LogParserModel(string sectionUrl) + /// <param name="pasteID">The paste ID.</param> + public LogParserModel(string sectionUrl, string pasteID) { this.SectionUrl = sectionUrl; + this.PasteID = pasteID; } } } |