Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Route '0' not recognized #1020

Closed
yanick opened this Issue · 0 comments

1 participant

Yanick Champoux
Yanick Champoux
Owner
get '0' => sub {
    return "not gonna fly";
};

won't work, because of the check at https://github.com/PerlDancer/Dancer/blob/devel/lib/Dancer/Route.pm#L43 An empty string will also cause the same thing. It should be changed for a 'defined' test.

Yanick Champoux yanick closed this issue from a commit
Yanick Champoux yanick changelog
Fixes #1020
8e3d5b3
Yanick Champoux yanick closed this in 8e3d5b3
Stefan Hornburg (Racke) racke referenced this issue in PerlDancer/Dancer2
Closed

Routes must have leading slash #581

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.