diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-12-01 22:24:01 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-12-02 20:14:12 -0500 |
commit | 8a11d5c0d918264e95ddcdebd7dfa0554bccb216 (patch) | |
tree | ebaaa4b647e85789fc5ebd4f8399af3ad29ea73c /src/SMAPI.Web/Views/Shared | |
parent | 5f532c259d5d3050bd6a053659067617db136d57 (diff) | |
download | SMAPI-8a11d5c0d918264e95ddcdebd7dfa0554bccb216.tar.gz SMAPI-8a11d5c0d918264e95ddcdebd7dfa0554bccb216.tar.bz2 SMAPI-8a11d5c0d918264e95ddcdebd7dfa0554bccb216.zip |
fix incorrect link URLs in some cases
Diffstat (limited to 'src/SMAPI.Web/Views/Shared')
-rw-r--r-- | src/SMAPI.Web/Views/Shared/_Layout.cshtml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/SMAPI.Web/Views/Shared/_Layout.cshtml b/src/SMAPI.Web/Views/Shared/_Layout.cshtml index e4b6ca94..17f1f673 100644 --- a/src/SMAPI.Web/Views/Shared/_Layout.cshtml +++ b/src/SMAPI.Web/Views/Shared/_Layout.cshtml @@ -1,4 +1,5 @@ @using Microsoft.Extensions.Options +@using StardewModdingAPI.Web.Framework @using StardewModdingAPI.Web.Framework.ConfigModels @inject IOptions<SiteConfig> SiteConfig @@ -15,15 +16,15 @@ <div id="sidebar"> <h4>SMAPI</h4> <ul> - <li><a href="@Url.Action("Index", "Index")">About SMAPI</a></li> + <li><a href="@Url.PlainAction("Index", "Index")">About SMAPI</a></li> <li><a href="https://stardewvalleywiki.com/Modding:Index">Modding docs</a></li> </ul> <h4>Tools</h4> <ul> - <li><a href="@Url.Action("Index", "Mods")">Mod compatibility</a></li> - <li><a href="@Url.Action("Index", "LogParser")">Log parser</a></li> - <li><a href="@Url.Action("Index", "JsonValidator")">JSON validator</a></li> + <li><a href="@Url.PlainAction("Index", "Mods")">Mod compatibility</a></li> + <li><a href="@Url.PlainAction("Index", "LogParser", values: null)">Log parser</a></li> + <li><a href="@Url.PlainAction("Index", "JsonValidator", values: null)">JSON validator</a></li> </ul> </div> <div id="content-column"> |