add browse

Allow for standard browse
This commit is contained in:
Tommy Parnell
2015-03-19 14:35:12 -04:00
parent 094890e720
commit f5ae330e4c

View File

@@ -10,6 +10,7 @@ namespace UntappedWidgetGenerator.Web
public IndexModule()
{
Get["/"] = x => { return View["Views/Index/Index.cshtml", "tparnell"]; };
Get["/{username}/browse"] = x => { return View["Views/Index/Index.cshtml", (string)x.username]; };
Get["/{username}"] = parameters =>
{
var info = new UntappedRepository().Get(parameters.username);
@@ -17,4 +18,4 @@ namespace UntappedWidgetGenerator.Web
};
}
}
}
}