# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~

# Home page
GET     /                                controllers.Application.index
GET     /room                            controllers.Application.chatRoom(username: Option[String])
GET     /room/chat                       controllers.Application.chat(username)
GET     /assets/javascripts/chatroom.js  controllers.Application.chatRoomJs(username: String)

# Map static resources from the /public folder to the /assets URL path
GET     /assets/*file                    controllers.Assets.at(path="/public", file)