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.
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to