1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-20 02:57:05 +00:00
Files
go-inbucket/conf/routes
James Hillyerd 24dcd62951 Basic HTML email rendering
Messages with a MIME text/html MIME part will now be displayed with an
`HTML` button above them that will open another window and render the
HTML when clicked.

There is no sanitization performed, and inline attachment display is
not support.

This closes #2
2012-10-17 21:47:48 -07:00

22 lines
889 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
GET /mailbox/source/{name}/{id} Mailbox.Source
GET /mailbox/html/{name}/{id} Mailbox.Html
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}