added user route
This commit is contained in:
parent
2bbcb3b36b
commit
05ea140322
1 changed files with 3 additions and 2 deletions
|
@ -9,8 +9,9 @@ namespace BirdsiteLive.Controllers
|
|||
{
|
||||
public class UserController : Controller
|
||||
{
|
||||
[Route("/user")]
|
||||
public IActionResult Index()
|
||||
[Route("/@{id}")]
|
||||
[Route("/user/{id}")]
|
||||
public IActionResult Index(string id)
|
||||
{
|
||||
var r = Request.Headers["Accept"].First();
|
||||
|
||||
|
|
Reference in a new issue