-
Notifications
You must be signed in to change notification settings - Fork 795
Change Startup page
Victor Tomaili edited this page May 3, 2021
·
1 revision
Splitted the cheat sheet of Wesley Huang into more specific parts for easier finding the topics.
To change the Starting Page, go to the xyzPage.cs
you want to be your initial page and update the 'Route' attribute to [Route("~/")]
on the Action Result.
[RoutePrefix("Dashboard"), Route("{action=index}")]
public class xyzController : Controller
{
[Authorize, HttpGet, Route("~/")]
public ActionResult Index()
{
Copyright © Serenity Platform 2017-present. All rights reserved.
Documentation | Serene Template | Live Demo | Premium Support | Issues | Discussions