mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 18:52:56 +00:00
dev day #100 - WE ARE FUCKING DONE, hotfixes incoming but we did it in 100 days, lets fucking go guys, anyone reading this...i love you
This commit is contained in:
@@ -189,6 +189,9 @@ func SetupRoutes(api *gin.RouterGroup, db *gorm.DB) {
|
||||
editor.GET("/variants/:element_name", editorPreviewController.GetAvailableVariants)
|
||||
}
|
||||
|
||||
// Editor-allowed admin navigation (authenticated editors)
|
||||
protected.GET("/admin/navigation/editor", middleware.RoleAuth("editor"), navigationController.GetEditorAllowedAdminNav)
|
||||
|
||||
// Newsletter preferences token for current user
|
||||
protected.GET("/newsletter/token/me", contactController.GetNewsletterTokenForUser)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user