mod_export dispatch rules (dispatch_export)
URL dispatch rules defined by mod_export in apps/zotonic_mod_export/priv/dispatch/dispatch_export.
This file defines the URL dispatch rules for mod_export. Rules are matched from top to bottom; the first matching rule handles the request.
Source: apps/zotonic_mod_export/priv/dispatch/dispatch_export
This set is stored in the dispatch_export dispatch file.
| Dispatch name | Path | Controller | Options |
|---|---|---|---|
export_rsc | /export/rsc | controller_export_resource | [] |
export_rsc | /export/rsc/:id | controller_export_resource | [] |
export_rsc | /export/rsc/:type/:id | controller_export_resource | [] |
export_rsc_query | /export/query | controller_export_resource | [{is_query,true}] |
export_rsc_query | /export/query/:id | controller_export_resource | [{is_query,true}] |
export_rsc_query | /export/query/:type/:id | controller_export_resource | [{is_query,true}] |