Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Stevenson kylone

View GitHub Profile
@kylone
kylone / RouteConfig.fs
Last active Aug 29, 2015
Module for declaring MVC route configurations in F#
View RouteConfig.fs
/// MVC Route configurations
module RouteConfig =
open System.Web.Mvc
open System.Web.Routing
let registerRoutes (routes: RouteCollection) =
routes.IgnoreRoute("{resource}.axd/{*pathInfo}")
/// create a pair, boxing the second item
You can’t perform that action at this time.