Navigation Menu

Skip to content

Commit

Permalink
better comments for example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 18, 2014
1 parent b703a1a commit 0cd7a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -68,10 +68,10 @@ app->start;
```perl
use Mojolicious::Lite;

# Route connecting "/" with a template in the DATA section
# Render template "index.html.ep" from the DATA section
get '/' => {template => 'index'};

# WebSocket service scraping information from a web site
# WebSocket service extracting the title from a web site
websocket '/title' => sub {
my $c = shift;
$c->on(message => sub {
Expand Down

0 comments on commit 0cd7a44

Please sign in to comment.