Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package DemandMapper::Controller::Prototype;
- use Mojo::Base 'Mojolicious::Controller';
- # This action will render a template
- sub heatmap_canvas {
- my $self = shift;
- # Render template "example/welcome.html.ep" with message
- $self->render(msg => 'Welcome to the Mojolicious real-time web framework!');
- }
- sub index {
- my $self = shift;
- # Render template "example/welcome.html.ep" with message
- $self->render(msg => 'Welcome to the Mojolicious real-time web framework!');
- }
- 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement