Skip to content

Commit

Permalink
more consistent examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 18, 2014
1 parent d5faff0 commit b703a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -69,7 +69,7 @@ app->start;
use Mojolicious::Lite;

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

# WebSocket service scraping information from a web site
websocket '/title' => sub {
Expand Down

0 comments on commit b703a1a

Please sign in to comment.