Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use Mojolicious::Lite;
- get '/' => sub {
- shift->render_text('top');
- };
- get '/hoge' => sub {
- shift->render_text('hogehoge');
- };
- get '/fuga' => sub {
- shift->render_text('fugafuga');
- };
- get '/hogefuga' => 'hogefuga';
- app->start;
- __DATA__
- @@ hogefuga.html.ep
- hogehogefugafuga
Add Comment
Please, Sign In to add comment