include a full app example
This commit is contained in:
1 parent
6386e0620e
commit
e541ac92b7
13 files changed
+150
-4
No files matched your search
+1
-2
@@ -1,6 +1,5 @@
|
||||
use Mojolicious::Lite;
|
||||
|
||||
# Documentation browser under "/perldoc"
|
||||
plugin 'tt_renderer';
|
||||
|
||||
get '/' => sub {
|
||||
@@ -15,7 +14,7 @@ __DATA__
|
||||
@@ index.html.tt
|
||||
[%
|
||||
WRAPPER 'layouts/default.html.tt'
|
||||
title = 'default'
|
||||
title = 'Welcome'
|
||||
%]
|
||||
<p>Welcome to the Mojolicious real-time web framework!</p>
|
||||
<p>Welcome to the TtRenderer plugin!</p>
|
||||
|
||||
Reference in new issue
Block a user