site-libsoc/Server/routes.jl

23 lines
794 B
Julia
Raw Permalink 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-07-06 18:04:03 +07:00
route("/:locale/manifesto/*", BasicController.manifesto, named = :manifest)
2023-06-24 04:39:41 +07:00
2023-07-06 18:04:03 +07:00
route("/:locale/join-us/*", BasicController.join_us, named = :join_us)
2023-06-24 04:39:41 +07:00
2023-07-06 18:04:03 +07:00
route("/:locale/groups/*", BasicController.groups, named = :groups)
2023-06-24 04:39:41 +07:00
2023-07-06 18:04:03 +07:00
route("/:locale/cooperatives/*", BasicController.cooperatives, named = :cooperatives)
2023-06-24 04:39:41 +07:00
2023-07-06 18:04:03 +07:00
route("/:locale/communities/*", BasicController.communities, named = :communities)
2023-06-24 04:39:41 +07:00
2023-07-06 18:04:03 +07:00
route("/:locale/partners/*", BasicController.partners, named = :partners)
2023-07-04 23:21:15 +07:00
2023-07-06 18:04:03 +07:00
route("/:locale/political-compass/*", BasicController.political_compass, named = :political_compass)
2023-06-26 00:39:06 +07:00
2023-07-06 18:04:03 +07:00
route("/:locale/*", BasicController.landing, named = :landing)