Put informations on a separate page for those with no script

This commit is contained in:
Luc Didry
2014-02-19 23:50:41 +01:00
parent be80462d2e
commit 8eb2c200c8
5 changed files with 14 additions and 8 deletions
+5
View File
@@ -132,6 +132,11 @@ sub startup {
}
)->name('index');
$r->get('/about' => sub {
shift->render(template => 'about');
}
)->name('about');
$r->post('/' => sub {
my $c = shift;
my $upload = $c->param('file');
+1
View File
@@ -50,6 +50,7 @@ our %Lexicon = (
'7_days' => '7 days',
'30_days' => '30 days',
'1_year' => 'One year',
'back-to-index' => 'Back to homepage'
);
1;
+1
View File
@@ -50,6 +50,7 @@ our %Lexicon = (
'7_days' => '7 jours',
'30_days' => '30 jours',
'1_year' => 'Un an',
'back-to-index' => 'Retour à la page d\'accueil'
);
1;