Update routes.jl

This commit is contained in:
a-ill 2023-07-06 14:04:03 +03:00
parent a0bdc6507e
commit f786fd75e0

View File

@ -5,18 +5,18 @@ using Server.BasicController
#---Basic-----------------------------------------------------------
route("/:locale/manifesto", BasicController.manifesto, named = :manifest)
route("/:locale/manifesto/*", BasicController.manifesto, named = :manifest)
route("/:locale/join-us", BasicController.join_us, named = :join_us)
route("/:locale/join-us/*", BasicController.join_us, named = :join_us)
route("/:locale/groups", BasicController.groups, named = :groups)
route("/:locale/groups/*", BasicController.groups, named = :groups)
route("/:locale/cooperatives", BasicController.cooperatives, named = :cooperatives)
route("/:locale/cooperatives/*", BasicController.cooperatives, named = :cooperatives)
route("/:locale/communities", BasicController.communities, named = :communities)
route("/:locale/communities/*", BasicController.communities, named = :communities)
route("/:locale/partners", BasicController.partners, named = :partners)
route("/:locale/partners/*", BasicController.partners, named = :partners)
route("/:locale/political-compass", BasicController.political_compass, named = :political_compass)
route("/:locale/political-compass/*", BasicController.political_compass, named = :political_compass)
route("/:locale", BasicController.landing, named = :landing)
route("/:locale/*", BasicController.landing, named = :landing)