Skip to content

Commit

Permalink
remove leading slash in yapp_appmods examples (Tom McNulty)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinoski committed Mar 1, 2009
1 parent 0cfaa30 commit b915ca1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/yapp_intro.yaws
Expand Up @@ -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 "
Expand All @@ -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]}]}.
Expand Down

0 comments on commit b915ca1

Please sign in to comment.