concrete
This commit is contained in:
20
lib/CW/Controller/Index.pm
Normal file
20
lib/CW/Controller/Index.pm
Normal file
@@ -0,0 +1,20 @@
|
||||
package CW::Controller::Index;
|
||||
|
||||
use Moo;
|
||||
|
||||
with 'CW::Controller';
|
||||
|
||||
sub index {
|
||||
my ( $self, $request, $response ) = @_;
|
||||
|
||||
$response->template(
|
||||
[
|
||||
head => [],
|
||||
body => [
|
||||
h1 => ["Foo Bar!"]
|
||||
]
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in New Issue
Block a user