source: Dev/branches/play-2.0.1/samples/scala/websocket-chat/conf/routes @ 322

Last change on this file since 322 was 322, checked in by hendrikvanantwerpen, 13 years ago

Added Play! framework and application with Jena dependency. Working on
the basic things now (login/register), after that start implementing
our data model.

File size: 499 bytes
Line 
1# Routes
2# This file defines all application routes (Higher priority routes first)
3# ~~~~
4
5# Home page
6GET     /                           controllers.Application.index
7GET     /room                       controllers.Application.chatRoom(username: Option[String] ?= None)
8GET     /room/chat                  controllers.Application.chat(username)
9
10# Map static resources from the /public folder to the /assets URL path
11GET     /assets/*file               controllers.Assets.at(path="/public", file)
Note: See TracBrowser for help on using the repository browser.