21 Sep
2015
21 Sep
'15
4:11 a.m.
On 19/09/2015 4:52 am, Rick Leir wrote:
Can you help me with the Plugin Adaptor?
get '/' => sub { if ( -d service("capdir") ) { return {message => 'Hello World'}; } else { return ({message => service}); }
There are two calls to `service` in your route code. The second one (within the else block) has no name argument. Hope that helps, Russell.