1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-01 21:11:41 +02:00

index should only accept GET

This commit is contained in:
Daniel Berteaud 2014-10-19 13:11:49 +02:00
parent 5d7005d1fd
commit b0cb6cb85b

View File

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