From 54218bfedb5704d04ea0c7992fdb7a9077b88248 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Mon, 11 Jan 2021 19:14:51 -0500 Subject: [PATCH] redirect to twitter when displaying tweets, fix #40 --- src/BirdsiteLive/Controllers/UsersController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BirdsiteLive/Controllers/UsersController.cs b/src/BirdsiteLive/Controllers/UsersController.cs index ca222ae..d85a6d9 100644 --- a/src/BirdsiteLive/Controllers/UsersController.cs +++ b/src/BirdsiteLive/Controllers/UsersController.cs @@ -109,7 +109,7 @@ namespace BirdsiteLive.Controllers } } - return View("Tweet", statusId); + return Redirect($"https://twitter.com/{id}/status/{statusId}"); } [Route("/users/{id}/inbox")]