/[SysIface]/lib/SysIface/Example.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /lib/SysIface/Example.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Tue Jun 16 19:33:55 2009 UTC (14 years, 10 months ago) by dpavlin
File size: 364 byte(s)
mojolicious generate app SysIface
1 dpavlin 1 package SysIface::Example;
2    
3     use strict;
4     use warnings;
5    
6     use base 'Mojolicious::Controller';
7    
8     # This action will render a template
9     sub welcome {
10     my $self = shift;
11    
12     # Render template "example/welcome.html.epl" with message and layout
13     $self->render(
14     layout => 'default',
15     message => 'Welcome to the Mojolicious Web Framework!'
16     );
17     }
18    
19     1;

  ViewVC Help
Powered by ViewVC 1.1.26