Skip to content

Instantly share code, notes, and snippets.

@richardprice
Created September 17, 2013 16:24
Show Gist options
  • Save richardprice/6596753 to your computer and use it in GitHub Desktop.
Save richardprice/6596753 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Nancy;
namespace SimpleAuthNancyExample.Modules
{
public class HomeModule : NancyModule
{
public HomeModule()
{
Get["/"] = _ => View["index"];
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment