-
Notifications
You must be signed in to change notification settings - Fork 3
/
routes
22 lines (16 loc) · 955 Bytes
/
routes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Home page
GET / controllers.Application.index()
GET /top10 controllers.Application.top10()
GET /top10chart controllers.Application.top10chart()
GET /top20 controllers.Application.top20()
GET /top20chart controllers.Application.top20chart()
GET /details controllers.Application.details()
GET /api/counts controllers.Api.counts(callback: Option[String])
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(path="/public", file)
# and this one because the greasemonkey script references it
# hmm doesn't work :(
#GET /static/gm-stats.css controllers.Assets.at(path="/public", file="stylesheets/gm-stats.css")