Hi all,
If I do this:
use Dancer ':syntax';
use Dancer::Plugin::Weborama::Authentication;
prefix '/companyname' => sub {
post '/bidder' => sub { ... };
};
I would very much like my Authentication plugin to register a 'before' hook which only fires if the /companyname prefix is set. What's the best way of doing this?
Cheers,
Ovid