mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
610 B
23 lines
610 B
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
|
using Microsoft.Extensions.Options;
|
|
using Volo.Docs;
|
|
|
|
namespace VoloDocs.Web.Pages
|
|
{
|
|
public class IndexModel : PageModel
|
|
{
|
|
private readonly DocsUrlOptions _urlOptions;
|
|
|
|
public IndexModel(IOptions<DocsUrlOptions> urlOptions)
|
|
{
|
|
_urlOptions = urlOptions.Value;
|
|
}
|
|
|
|
public IActionResult OnGet()
|
|
{
|
|
//TODO: Create HomeController & Index instead of Page. Otherwise, we have an empty Index.cshtml file.
|
|
return Redirect("./documents");
|
|
}
|
|
}
|
|
}
|