module Website

Defined in:

website/app.cr
website/context_producers/google_site_verification_code_context_producer.cr
website/context_producers/version_context_producer.cr
website/handlers/bad_handler.cr
website/handlers/chat_handler.cr
website/handlers/code_of_conduct_handler.cr
website/handlers/home_handler.cr
website/handlers/news_detail_handler.cr
website/handlers/news_list_handler.cr
website/handlers/robots_handler.cr
website/handlers/sitemap_handler.cr
website/handlers/team_handler.cr
website/models/news.cr
website/routes.cr
website/settings.cr

Constant Summary

ROUTES = Marten::Routing::Map.draw do path("/", HomeHandler, name: "home") path("/news", NewsListHandler, name: "news_list") path("/news/page/<page:int>", NewsListHandler, name: "news_list_by_page") path("/news/<slug:str>", NewsDetailHandler, name: "news_detail") path("/team", TeamHandler, name: "team") path("/chat", ChatHandler, name: "chat") path("/code-of-conduct", CodeOfConductHandler, name: "code_of_conduct") path("/robots.txt", RobotsHandler, name: "robots") path("/sitemap.xml", SitemapHandler, name: "sitemap") end