Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer CPAN distribution.

Report information
The Basics
Id: 59141
Status: resolved
Priority: 0/
Queue: Dancer

People
Owner: Nobody in particular
Requestors: cruejones [...] comcast.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.1805
Fixed in: (no value)



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.
On Tue Jul 06 15:53:33 2010, cruejones wrote: Show quoted text
> Default route section of cookbook:
[...] Show quoted text
> template => 'special_404', { path => request->path };
[...] Show quoted text
> should be:
[...] Show quoted text
> template 'special_404', { path => request->path };
[...] Show quoted text
> The '=>' needs to be removed.
Good catch, thanks! Fixed in commit a43b2fd pushed just now.