feat: setup editable product struct
This commit is contained in:
@@ -116,6 +116,10 @@ func (s *Server) Setup() error {
|
||||
product := s.restricted.Group("/product")
|
||||
restricted.ProductsHandlerRoutes(product)
|
||||
|
||||
// editing products
|
||||
productEditing := s.restricted.Group("/product-editing")
|
||||
restricted.ProductEditingHandlerRoutes(productEditing)
|
||||
|
||||
// locale selector (restricted)
|
||||
// this is basically for changing user's selected language and country
|
||||
localeSelector := s.restricted.Group("/langs-and-countries")
|
||||
|
||||
Reference in New Issue
Block a user