diff --git a/app/views/bubbles/show.html.erb b/app/views/bubbles/show.html.erb index 5eab871d8..fae887838 100644 --- a/app/views/bubbles/show.html.erb +++ b/app/views/bubbles/show.html.erb @@ -5,7 +5,7 @@
You have an unsaved work. Would you like to continue where you left off? - <%= button_to bucket_bubble_recover_path(@bubble.bucket, @bubble), class: "btn btn--reversed", data: { turbo_action: "replace" } do %> + <%= button_to bubble_recover_path(@bubble), class: "btn btn--reversed", data: { turbo_action: "replace" } do %> Restore <% end %>
diff --git a/config/routes.rb b/config/routes.rb index 065bfe7cd..0dfc07f7d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -14,6 +14,7 @@ Rails.application.routes.draw do resource :pin resource :pop resource :publish + resource :recover resource :watch resources :assignments @@ -51,7 +52,6 @@ Rails.application.routes.draw do resource :readings, only: :create scope module: :bubbles do - resource :recover resources :stagings end end