-
Notifications
You must be signed in to change notification settings - Fork 34
/
routes.ini
47 lines (39 loc) · 1.63 KB
/
routes.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
; Public, in-theme exhibit views.
neatline.route = "neatline/show/:slug"
neatline.defaults.module = "neatline"
neatline.defaults.controller = "exhibits"
neatline.defaults.action = "show"
; Public, fullscreen exhibit views.
neatlineFullscreen.route = "neatline/fullscreen/:slug"
neatlineFullscreen.defaults.module = "neatline"
neatlineFullscreen.defaults.controller = "exhibits"
neatlineFullscreen.defaults.action = "fullscreen"
; Non-exhibit-specific admin views.
neatlineAction.route = "neatline/:action"
neatlineAction.defaults.module = "neatline"
neatlineAction.defaults.controller = "exhibits"
neatlineAction.defaults.action = "browse"
; Exhibit-specific admin views.
neatlineActionId.route = "neatline/:action/:id"
neatlineActionId.defaults.module = "neatline"
neatlineActionId.defaults.controller = "exhibits"
neatlineActionId.reqs.id = "\d+"
; REST API for individual exhibits.
neatlineExhibitsId.route = "neatline/exhibits/:id"
neatlineExhibitsId.defaults.module = "neatline"
neatlineExhibitsId.defaults.controller = "exhibits"
neatlineExhibitsId.reqs.id = "\d+"
; REST API for record collections.
neatlineRecords.route = "neatline/records"
neatlineRecords.defaults.module = "neatline"
neatlineRecords.defaults.controller = "records"
; REST API for individual records.
neatlineRecordsId.route = "neatline/records/:id"
neatlineRecordsId.defaults.module = "neatline"
neatlineRecordsId.defaults.controller = "records"
neatlineRecordsId.reqs.id = "\d+"
; Neatline-inflected Omeka item bodies.
neatlineItemsId.route = "neatline/items/:id"
neatlineItemsId.defaults.module = "neatline"
neatlineItemsId.defaults.controller = "items"
neatlineItemsId.reqs.id = "\d+"