Hello!
I have trouble creating a Catalyst action that would match a single file in the root directory. I would like to match URLs that look like this:
http://foo:3000/about.html
I have written the following action in the root controller:
sub static :Path :Args(1)
{
my ($self, $c, $file) = @_;
…
}
But the action does not match, Catalyst runs the default
action instead. What am I doing wrong?