aboutsummaryrefslogtreecommitdiffstats
path: root/guide
diff options
context:
space:
mode:
authorAdam Cammack <[email protected]>2013-02-10 00:03:30 -0600
committerAdam Cammack <[email protected]>2013-02-11 09:44:25 -0600
commit6575ceb0dd41111604453095044e2f9296ac0eee (patch)
tree7d6ac2d26acdcbedeb798495b435ad6aab81e6c6 /guide
parent65ed13d2da2e6bab65fcde7db2e46060c33be71f (diff)
downloadcowboy-6575ceb0dd41111604453095044e2f9296ac0eee.tar.gz
cowboy-6575ceb0dd41111604453095044e2f9296ac0eee.tar.bz2
cowboy-6575ceb0dd41111604453095044e2f9296ac0eee.zip
Fix examples in cowboy_static edoc and guide
Diffstat (limited to 'guide')
-rw-r--r--guide/static_handlers.md2
1 files changed, 1 insertions, 1 deletions
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}}
]}