Add workouts

This commit is contained in:
2023-04-25 15:56:41 +10:00
parent 971e0007dd
commit c89b5b0998
13 changed files with 197 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ module Adamantium
get "/post/top_tracks/:slug", to: "posts.top_tracks"
get "/post/:slug", to: "posts.show"
get "/posts", to: "posts.index"
get "/posts/archive/:year", to: "posts.archive"
get "/bookmarks", to: "bookmarks.index"
get "/bookmarks/metadata/:id", to: "bookmarks.metadata"
@@ -28,6 +29,7 @@ module Adamantium
get "/places", to: "places.index"
get "/statuses", to: "statuses.index"
get "/tags", to: "tags.index"
get "/tagged/:slug", to: "tags.show"
get "/key", to: "key.show" if Hanami.app.settings.micropub_pub_key
@@ -35,6 +37,11 @@ module Adamantium
get "/feeds/rss", to: "feeds.rss"
get "/feeds/statuses_rss", to: "feeds.statuses_rss"
get "/more", to: "more.index"
get "/hikes", to: "workouts.index"
post "/workouts", to: "workouts.create"
get "/:slug", to: "pages.show"
redirect "deploying-a-hanami-app-to-fly-io", to: "/post/deploying-a-hanami-20-app-to-flyio"