From e4f7837ebe75cf413557aa5b987c7654b1f14ea0 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Mon, 7 Apr 2025 13:28:18 +0200 Subject: [PATCH] Remove double nesting under bubbles for engagement --- app/views/bubbles/show.html.erb | 4 ++-- config/routes.rb | 2 +- test/controllers/bubbles/engagements_controller_test.rb | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/bubbles/show.html.erb b/app/views/bubbles/show.html.erb index 8d98ac80a..36bb3d6c9 100644 --- a/app/views/bubbles/show.html.erb +++ b/app/views/bubbles/show.html.erb @@ -27,7 +27,7 @@
Considering <% if @bubble.doing? %> - <%= form_with url: bucket_bubble_engagement_path(@bubble.bucket, @bubble), method: :delete, data: { controller: "form" }, class: "flex" do %> + <%= form_with url: bubble_engagement_path(@bubble), method: :delete, data: { controller: "form" }, class: "flex" do %> <% end %> <% else %> - <%= form_with url: bucket_bubble_engagement_path(@bubble.bucket, @bubble), method: :post, data: { controller: "form" }, class: "flex" do %> + <%= form_with url: bubble_engagement_path(@bubble), method: :post, data: { controller: "form" }, class: "flex" do %>