Ability to remove posts from trips

This commit is contained in:
2023-06-15 20:03:10 +10:00
parent 2eaf1ddf88
commit 1f56ff0e49
7 changed files with 2344 additions and 16 deletions

View File

@@ -93,6 +93,7 @@ module Adamantium
get "/trips/:id", to: "trips.show"
post "/trips", to: "trips.create"
post "/trips/add_post", to: "trips.add_post"
post "/trips/remove_post", to: "trips.remove_post"
get "/trips/new", to: "trips.new"
post "/trips/:id", to: "trips.update"
end