Subject: | Dancer Cookbook example default route update |
Default route section of cookbook:
any r('.*') => sub {
status 'not_found';
template => 'special_404', { path => request->path };
};
should be:
any r('.*') => sub {
status 'not_found';
template 'special_404', { path => request->path };
};
The '=>' needs to be removed.