diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-27 19:36:52 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-27 19:36:52 -0400 |
commit | e75aef8634f9edb8ac385b8d7308b40ed3269cbc (patch) | |
tree | ae8c21efc8889c48c4d8895fb7710df8a47dd5f1 /src/SMAPI.Web/Controllers | |
parent | 65f0fa625575592639a24a9b39330e4a6b500f22 (diff) | |
download | SMAPI-e75aef8634f9edb8ac385b8d7308b40ed3269cbc.tar.gz SMAPI-e75aef8634f9edb8ac385b8d7308b40ed3269cbc.tar.bz2 SMAPI-e75aef8634f9edb8ac385b8d7308b40ed3269cbc.zip |
add placeholder for new log parser (#358)
Diffstat (limited to 'src/SMAPI.Web/Controllers')
-rw-r--r-- | src/SMAPI.Web/Controllers/LogParserController.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Controllers/LogParserController.cs b/src/SMAPI.Web/Controllers/LogParserController.cs new file mode 100644 index 00000000..4ed8898a --- /dev/null +++ b/src/SMAPI.Web/Controllers/LogParserController.cs @@ -0,0 +1,19 @@ +using Microsoft.AspNetCore.Mvc; + +namespace StardewModdingAPI.Web.Controllers +{ + /// <summary>Provides a web UI and API for parsing SMAPI log files.</summary> + [Route("log")] + internal class LogParserController : Controller + { + /********* + ** Public methods + *********/ + /// <summary>Render the web UI to upload a log file.</summary> + [HttpGet] + public ViewResult Index() + { + return this.View("Index"); + } + } +} |