One last get_url

replaced with url_for
This commit is contained in:
Daniel Berteaud 2015-08-31 22:55:17 +02:00
parent a932c6c668
commit 2decea27e7
1 changed files with 1 additions and 1 deletions

2
vroom
View File

@ -2293,7 +2293,7 @@ get '/:room' => sub {
my $token = $self->param('token') || undef;
# Redirect to lower case
if ($room ne lc $room){
$self->redirect_to($self->get_url('/') . lc $room);
$self->redirect_to($self->url_for('/' . lc $room));
}
$self->purge_rooms;
$self->purge_invitations;