diff --git a/Settings.StyleCop b/Settings.StyleCop
index fc28f42..a71f216 100644
--- a/Settings.StyleCop
+++ b/Settings.StyleCop
@@ -12,6 +12,11 @@
False
+
+
+ True
+
+
@@ -242,6 +247,46 @@
False
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
diff --git a/Web/Controllers/HomeController.cs b/Web/Controllers/HomeController.cs
index 200ab9b..4e4e0aa 100644
--- a/Web/Controllers/HomeController.cs
+++ b/Web/Controllers/HomeController.cs
@@ -3,7 +3,6 @@
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;
-using Compilify.DataAccess;
using Compilify.LanguageServices;
using Compilify.Models;
using Compilify.Web.Models;
@@ -62,7 +61,7 @@ public ActionResult Show(string slug, int? version)
if (version <= 1)
{
// Redirect the user to /:slug instead of /:slug/1
- return RedirectToActionPermanent("Show", "Home", new { slug = slug, version = (int?)null });
+ return RedirectToActionPermanent("Show", "Home", new { slug, version = (int?)null });
}
version = version ?? 1;