@@ -10,11 +10,13 @@ import (
10
10
11
11
func routes (http * fiber.App , app core.App , retentionPolicy models.RetentionPolicy ) {
12
12
http .Get ("/" , middleware .App (app , controllers .Index (retentionPolicy )))
13
- http .Route ("/p " , func (http fiber.Router ) {
14
- http .Get ("/storage-table" , middleware .App (app , controllers .IndexPStorageTable ))
15
- http .Get ("/recent-envelopes-table" , middleware .App (app , controllers .IndexPRecentEnvelopesTable ))
13
+ http .Route ("/index " , func (http fiber.Router ) {
14
+ http .Get ("/storage-table" , middleware .App (app , controllers .IndexStorageTable ))
15
+ http .Get ("/recent-envelopes-table" , middleware .App (app , controllers .IndexRecentEnvelopesTable ))
16
16
})
17
17
18
+ http .Get ("/login" , middleware .App (app , controllers .AuthLogin ))
19
+
18
20
http .Route ("/envelopes" , func (http fiber.Router ) {
19
21
http .Get ("/" , middleware .App (app , controllers .Envelopes ))
20
22
http .Delete ("/" , middleware .App (app , controllers .EnvelopesDelete ))
@@ -41,7 +43,7 @@ func routes(http *fiber.App, app core.App, retentionPolicy models.RetentionPolic
41
43
http .Route ("/rules" , func (http fiber.Router ) {
42
44
http .Get ("/" , middleware .App (app , controllers .Rules ))
43
45
http .Route ("/:id" , func (http fiber.Router ) {
44
- http .Post ("/enable" , middleware .AppID (app , controllers .RulePEnableForm ))
46
+ http .Post ("/enable" , middleware .AppID (app , controllers .RuleEnable ))
45
47
})
46
48
})
47
49
0 commit comments