home page

This commit is contained in:
Tommy Parnell
2015-03-19 00:17:32 -04:00
parent 5e6529cc6c
commit 7d5315be55

View File

@@ -9,6 +9,7 @@ namespace UntappedWidgetGenerator.Web
{ {
public IndexModule() public IndexModule()
{ {
Get["/"] = x => { return View["Views/Index/Index.cshtml", "tparnell"]; };
Get["/{username}"] = parameters => Get["/{username}"] = parameters =>
{ {
return View["Views/Index/Index.cshtml", (string)parameters.username]; return View["Views/Index/Index.cshtml", (string)parameters.username];