Commit b5360957 authored by Corentin Mors's avatar Corentin Mors
Browse files

Change routing for rooms (simplier is better)

parent 5ebcaef2
......@@ -4,10 +4,7 @@ var express = require('express'),
router.route('/')
.get(controller.home);
router.route('/room')
.get(controller.redirect_home)
.get(controller.home)
.post(controller.room);
......
......@@ -3,7 +3,7 @@
{% block content %}
<div class="container">
<form method="POST" action="/room">
<form method="POST" action="">
<label for="room-name">Room:</label>
<input id="room-name" type="text" name="room">
<label for="room-name">Username:</label>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment