change log api to reflect data split into base and extension
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package cropprotection
|
||||
|
||||
import (
|
||||
"wagfarm-api/generic"
|
||||
"wagfarm-api/logs/generic"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func RegisterRoutes(rg *gin.RouterGroup) {
|
||||
generic.RegisterCRUDRoutes(rg.Group("/cropprotection"), generic.DefaultCRUDController[CropProtectionLog]())
|
||||
generic.RegisterCRUDRoutes(rg.Group("/cropprotection"), generic.LogCRUDController[CropProtectionLog]())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user