From da2e03396d5f375915f178315a359e3558bd9b48 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 8 Jul 2015 22:10:49 +0200 Subject: [PATCH] Add URI handling for /admin/audit --- templates/default/admin.html.ep | 3 +++ vroom.pl | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/templates/default/admin.html.ep b/templates/default/admin.html.ep index c591aa2..40cbd7e 100644 --- a/templates/default/admin.html.ep +++ b/templates/default/admin.html.ep @@ -6,6 +6,9 @@ <%=l 'ROOM_MANAGEMENT' %> + + <%=l 'AUDIT' %> + %= include 'js_common' diff --git a/vroom.pl b/vroom.pl index fa4b1e1..6bd1990 100755 --- a/vroom.pl +++ b/vroom.pl @@ -2147,6 +2147,12 @@ group { my $self = shift; return $self->render('admin_manage_rooms'); }; + + # Audit + get '/audit' => sub { + my $self = shift; + return $self->render('admin_audit'); + }; }; # Catch all route: if nothing else match, it's the name of a room