Skip to content

Commit

Permalink
#51 modified route for the getatagsadmin URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick van Kleef committed Apr 7, 2017
1 parent 057a8e7 commit d04792b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InitializeModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class InitializeModule : IInitializableModule
public void Initialize(InitializationEngine context)
{
RouteTable.Routes.MapRoute("GetaTags", "getatags", new { action = "Index", controller = "GetaTags" });
RouteTable.Routes.MapRoute("GetaTagsAdmin", "getatagsadmin", new { action = "Index", controller = "GetaTagsAdmin" });
RouteTable.Routes.MapRoute(name: "GetaTagsAdmin",url: "getatagsadmin/{action}", defaults: new { controller = "GetaTagsAdmin", action = "Index" });
}

public void Uninitialize(InitializationEngine context)
Expand Down

0 comments on commit d04792b

Please sign in to comment.