Directly render the feedback_thanks template

Instead of redirecting to a new route
master
Daniel Berteaud 10 years ago
parent cfb6fddac2
commit 008e90a927
  1. 5
      vroom.pl

@ -917,12 +917,9 @@ post '/feedback' => sub {
comment => $comment comment => $comment
) )
); );
$self->redirect_to($self->get_url('feedback_thanks')); return $self->render('feedback_thanks');
}; };
# Route for the thanks after feedback form
get 'feedback_thanks' => 'feedback_thanks';
# Route for the goodbye page, displayed when someone leaves a room # Route for the goodbye page, displayed when someone leaves a room
get '/goodbye/(:room)' => sub { get '/goodbye/(:room)' => sub {
my $self = shift; my $self = shift;

Loading…
Cancel
Save