diff --git a/source/Web/HappyMe.Web.Common/Helpers/ActionLinkHelper.cs b/source/Web/HappyMe.Web.Common/Helpers/ActionLinkHelper.cs index 1a70258e..b012a2f2 100644 --- a/source/Web/HappyMe.Web.Common/Helpers/ActionLinkHelper.cs +++ b/source/Web/HappyMe.Web.Common/Helpers/ActionLinkHelper.cs @@ -11,7 +11,7 @@ public static class ActionLinkHelper public static MvcHtmlString ActiveActionLinkHelper(this HtmlHelper helper, string linkText, string actionName, string controllerName, RouteValueDictionary routeValues, RouteValueDictionary htmlAttributes) { var currentControllerName = helper.ViewContext.Controller.GetType().Name; - + if (currentControllerName.Equals(controllerName + "Controller", StringComparison.OrdinalIgnoreCase)) { htmlAttributes["class"] += " active"; @@ -22,7 +22,7 @@ public static MvcHtmlString ActiveActionLinkHelper(this HtmlHelper helper, strin public static MvcHtmlString DashboardLink(this HtmlHelper helper) { - return helper.ActionLink("Dashboard", "Index", new { controller = "Начална страница", area = "Administration" }, new { @class = "btn btn-primary bottom-buffer" }); + return helper.ActionLink("Към начало администрация", "Index", new { controller = "Dashboard", area = "Administration" }, new { @class = "btn btn-primary bottom-buffer" }); } } }