mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 12:53:33 +08:00
Changing the Url of the Home menu item created @ setup to the AbsolutePath (relative URL of the app from the root of the site)
--HG-- branch : dev
This commit is contained in:
@@ -110,9 +110,7 @@ namespace Orchard.Setup.Controllers {
|
||||
menuItem.As<MenuPart>().MenuPosition = "1";
|
||||
menuItem.As<MenuPart>().MenuText = "Home";
|
||||
menuItem.As<MenuPart>().OnMainMenu = true;
|
||||
menuItem.As<MenuItem>().Url = "~/";
|
||||
|
||||
|
||||
menuItem.As<MenuItem>().Url = Request.Url.AbsolutePath;
|
||||
|
||||
var authenticationService = finiteEnvironment.Resolve<IAuthenticationService>();
|
||||
authenticationService.SignIn(user, true);
|
||||
|
Reference in New Issue
Block a user