Add trips

This commit is contained in:
2023-05-09 21:51:44 +10:00
parent ebdf051b82
commit 7988ffc76d
37 changed files with 651 additions and 2 deletions

View File

@@ -52,6 +52,9 @@ module Adamantium
get "/:slug", to: "pages.show"
get "/trips", to: "trips.index"
get "/trips/:id", to: "trips.show"
redirect "deploying-a-hanami-app-to-fly-io", to: "/post/deploying-a-hanami-20-app-to-flyio"
redirect "deploying-a-hanami-app-to-fly-io/", to: "/post/deploying-a-hanami-20-app-to-flyio"
@@ -81,6 +84,12 @@ module Adamantium
post "/posts/:id/archive", to: "posts.archive"
get "/media", to: "photos.index"
get "/trips", to: "trips.index"
get "/trips/:id", to: "trips.show"
post "/trips", to: "trips.create"
post "/trips/add_post", to: "trips.add_post"
get "/trips/new", to: "trips.new"
end
end
end