Fixed naming
This commit is contained in:
14
routes/public_routes.go
Normal file
14
routes/public_routes.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"gitlab.com/pactual1/backend/controllers"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func RegisterPublicRoutes(r *gin.Engine){
|
||||
|
||||
r.GET("/publicmessage", controllers.GetPublicText)
|
||||
r.POST("/device_info", controllers.SaveDeviceInfofunc)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user