bye bye github
This commit is contained in:
12
lib/Dojo/Controller/Example.pm
Normal file
12
lib/Dojo/Controller/Example.pm
Normal file
@@ -0,0 +1,12 @@
|
||||
package Dojo::Controller::Example;
|
||||
use Mojo::Base 'Mojolicious::Controller';
|
||||
|
||||
# This action will render a template
|
||||
sub welcome {
|
||||
my $self = shift;
|
||||
|
||||
# Render template "example/welcome.html.ep" with message
|
||||
$self->render(msg => 'Welcome to the Mojolicious real-time web framework!');
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in New Issue
Block a user