Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class HomeModule : NancyModule
{
public HomeModule()
{
Get["/{category}"] = parameters => "My category is " + parameters.category;
Get["/sayhello"] = _ => "Hello from Nancy";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.