index should only accept GET

master
Daniel Berteaud 10 years ago
parent 5d7005d1fd
commit b0cb6cb85b
  1. 2
      vroom.pl

@ -807,7 +807,7 @@ helper create_etherpad_session => sub {
}; };
# Route / to the index page # Route / to the index page
any '/' => sub { get '/' => sub {
my $self = shift; my $self = shift;
$self->stash( $self->stash(
etherpad => ($ec) ? 'true' : 'false' etherpad => ($ec) ? 'true' : 'false'

Loading…
Cancel
Save