From 6575ceb0dd41111604453095044e2f9296ac0eee Mon Sep 17 00:00:00 2001 From: Adam Cammack Date: Sun, 10 Feb 2013 00:03:30 -0600 Subject: Fix examples in cowboy_static edoc and guide --- guide/static_handlers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guide') diff --git a/guide/static_handlers.md b/guide/static_handlers.md index f87515a..b2a9114 100644 --- a/guide/static_handlers.md +++ b/guide/static_handlers.md @@ -21,7 +21,7 @@ mimetypes library to figure out the files' content types. ``` erlang Dispatch = [ {'_', [ - {['...'], cowboy_static, [ + {"/[...]", cowboy_static, [ {directory, {priv_dir, static, []}}, {mimetypes, {fun mimetypes:path_to_mimes/2, default}} ]} -- cgit v1.2.3