Skip to content

Commit

Permalink
Removed /api from dispatch
Browse files Browse the repository at this point in the history
I had that in there to test it out (for the comments above) but I don't
want that to be in the main example, so I'm removing it. Also, it needs
to be consistent with the curl/ab requests that are/might-be mentioned
in the recipe.
  • Loading branch information
JohnMurray committed Feb 27, 2013
1 parent 2ac13cd commit 16de752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed/event-machine.md
Expand Up @@ -54,7 +54,7 @@ def run
# /api/hello

This comment has been minimized.

Copy link
@kgrz

kgrz Feb 27, 2013

Should this be /hello or am I missing something?

# /api/goodbye
dispatch = Rack::Builder.app do
map '/api' do
map '/' do
run web_app
end
end
Expand Down

0 comments on commit 16de752

Please sign in to comment.