Blogging
Constants
ROUTES = Marten::Routing::Map.draw do
path("/", HomeHandler, name: "home")
path("/post", ArticleCreateHandler, name: "article_create")
path("/article/<slug:slug>", ArticleDetailHandler, name: "article_detail")
path("/article/<slug:slug>/edit", ArticleUpdateHandler, name: "article_update")
path("/article/<slug:slug>/delete", ArticleDeleteHandler, name: "article_delete")
path("/article/<slug:slug>/favorite", ArticleFavoriteHandler, name: "article_favorite")
path("/article/<slug:slug>/comment", CommentCreateHandler, name: "comment_create")
path("/article/<slug:slug>/comment/<comment_id:int>/delete", CommentDeleteHandler, name: "comment_delete")
end
Nested types
- Blogging::App
- Blogging::Article
- Blogging::ArticleCreateHandler
- Blogging::ArticleDeleteHandler
- Blogging::ArticleDetailHandler
- Blogging::ArticleFavoriteHandler
- Blogging::ArticleSchema
- Blogging::ArticleTags
- Blogging::ArticleUpdateHandler
- Blogging::Comment
- Blogging::CommentCreateHandler
- Blogging::CommentDeleteHandler
- Blogging::CommentSchema
- Blogging::HomeHandler
- Blogging::Tag