package AproJo::Front;
use Mojo::Base 'Mojolicious::Controller';

# This action will render a template
sub index {
  my $self = shift;

  # Render template "front/index.html.ep"
  $self->render();
}

sub page {
  my $self = shift;

  my $name = $self->param('name');

  # Render $page
  #$self->reply->not_found
  #  unless 
    $self->render(template => "front/$name");
}

1;
