Skip to content

Commit 7a2e636

Browse files
committed
Renamed TopicRedirect to Redirect.
Since the only redirect supported is based on `Topic.Id`, there's no reason to explicitly state `TopicRedirect`; it's implicit.
1 parent a2407ee commit 7a2e636

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Ignia.Topics.Web.Mvc/Controllers/RedirectController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ public RedirectController(ITopicRepository topicRepository) : base() {
4646
| REDIRECT
4747
\-------------------------------------------------------------------------------------------------------------------------*/
4848
/// <summary>
49-
/// Redirect based on TopicID
49+
/// Redirect based on <see cref="Topic.Id"/>.
5050
/// </summary>
5151
/// <param name="topicId">The <see cref="Topic.Id"/> to lookup in the <see cref="ITopicRepository"/>.</param>
52-
public virtual ActionResult TopicRedirect(int topicId) {
52+
public virtual ActionResult Redirect(int topicId) {
5353

5454
/*------------------------------------------------------------------------------------------------------------------------
5555
| Find the topic with the correct PageID.

0 commit comments

Comments
 (0)