site-libsoc/Server/routes.jl

20 lines
559 B
Julia
Raw Normal View History

2023-06-15 01:41:54 +07:00
using Genie.Router, Genie.Requests, Genie.Renderer.Json, JSON3
using Server.BasicController
#---Basic-----------------------------------------------------------
2023-06-24 04:39:41 +07:00
route("/", BasicController.landing, named = :landing)
route("/manifesto", BasicController.manifesto, named = :manifest)
route("/join-us", BasicController.join_us, named = :join_us)
route("/groups", BasicController.groups, named = :groups)
route("/cooperatives", BasicController.cooperatives, named = :cooperatives)
route("/communities", BasicController.communities, named = :communities)