Debian Codegraph @

t/issues/gh-1449/TestPlugin.pm

raw
1 use strict;
2 use warnings;
3 package TestPlugin;
4 use Dancer2::Plugin;
5
6 sub test {
7 my ($self) = @_;
8 $self->app->cookie($self->app->name => 'foo', http_only => 0);
9 return ( $self->app->name, $self->dsl->app->name );
10 };
11
12 plugin_keywords 'test';
13
14 1;