Permalink
Browse files

remove leading slash in yapp_appmods examples (Tom McNulty)

  • Loading branch information...
1 parent 0cfaa30 commit b915ca19f99cd29205ef0bee8748faadc37b801b @vinoski vinoski committed Mar 1, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 www/yapp_intro.yaws
View
@@ -129,7 +129,7 @@ out(A) ->
"have a yapp named yappx with root path \"/yappx\" and add: "},
box("
{env, [
- {yapp_appmods,[{\"/ctrl\",yappx_controller}]}
+ {yapp_appmods,[{\"ctrl\",yappx_controller}]}
]},
"),
{p,[],"to the env part in the yappx.app file, an access to the URL "
@@ -153,7 +153,7 @@ out(A) ->
% {mod,{myapp1_app,[]}}, %% Only needed if the application needs to be started
{env, [
{yapp_docroot,\"www\"},
- {yapp_appmods,[{\"/erlyweb\",erlyweb}]},
+ {yapp_appmods,[{\"erlyweb\",erlyweb}]},
{yapp_opaque,[{\"appname\",\"myapp1\"}]}
]},
{applications,[kernel,stdlib]}]}.

0 comments on commit b915ca1

Please sign in to comment.