23 lines
778 B
Julia
23 lines
778 B
Julia
|
|
using Genie.Router, Genie.Requests, Genie.Renderer.Json, JSON3
|
|
using Server.BasicController
|
|
|
|
|
|
#---Basic-----------------------------------------------------------
|
|
|
|
route("/:locale/manifesto", BasicController.manifesto, named = :manifest)
|
|
|
|
route("/:locale/join-us", BasicController.join_us, named = :join_us)
|
|
|
|
route("/:locale/groups", BasicController.groups, named = :groups)
|
|
|
|
route("/:locale/cooperatives", BasicController.cooperatives, named = :cooperatives)
|
|
|
|
route("/:locale/communities", BasicController.communities, named = :communities)
|
|
|
|
route("/:locale/partners", BasicController.partners, named = :partners)
|
|
|
|
route("/:locale/political-compass", BasicController.political_compass, named = :political_compass)
|
|
|
|
route("/:locale", BasicController.landing, named = :landing)
|