Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make app.pl run again by updating Mojolicious syntax (->root is now -…
…>static).
  • Loading branch information
Graham Todd committed Apr 12, 2013
1 parent 8999263 commit ed21f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.pl
Expand Up @@ -2,7 +2,7 @@

use Mojolicious::Lite;

app->static->root('html');
app->static->paths(['html']);

get '(*dir)/:file' => sub {
my $self = shift;
Expand Down

1 comment on commit ed21f21

@grtodd
Copy link

@grtodd grtodd commented on ed21f21 Apr 12, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or rather static-->root is now static->paths

Please sign in to comment.