1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-07 19:57:06 +00:00
Files
go-inbucket/conf/routes
James Hillyerd a0ab84abb5 Message list is now loaded by AJAX and can be refreshed.
Added a message delete button.
2012-10-13 14:11:12 -07:00

20 lines
765 B
Plaintext

# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
GET / Application.Index
GET /mailbox/{name} Mailbox.Index
GET /mailbox Mailbox.Index
GET /mailbox/list/{name} Mailbox.List
GET /mailbox/show/{name}/{id} Mailbox.Show
POST /mailbox/delete/{name}/{id} Mailbox.Delete
# Ignore favicon requests
GET /favicon.ico 404
# Map static resources from the /app/public folder to the /public path
GET /public/ staticDir:public
# Catch all
* /{controller}/{action} {controller}.{action}