Add URI handling for /admin/audit

This commit is contained in:
Daniel Berteaud 2015-07-08 22:10:49 +02:00
parent ca7aedde5f
commit da2e03396d
2 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,9 @@
<a class="btn btn-lg btn-primary btn-block" href="<%= $self->url_for('/admin/rooms') %>">
<%=l 'ROOM_MANAGEMENT' %>
</a>
<a class="btn btn-lg btn-primary btn-block" href="<%= $self->url_for('/admin/audit') %>">
<%=l 'AUDIT' %>
</a>
</div>
%= include 'js_common'

View File

@ -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