diff --git a/admin/app/components/solidus_admin/orders/show/component.html.erb b/admin/app/components/solidus_admin/orders/show/component.html.erb index b6a553d56a5..9fad865480a 100644 --- a/admin/app/components/solidus_admin/orders/show/component.html.erb +++ b/admin/app/components/solidus_admin/orders/show/component.html.erb @@ -16,8 +16,8 @@ <%= page_with_sidebar_aside do %> <%= render component('ui/panel').new(title: panel_title_with_more_links(t(".customer"), [ link_to("Edit order email", "#", class: "p-2 hover:bg-gray-25 rounded-sm text-black"), - link_to("Edit shipping address", "#", class: "p-2 hover:bg-gray-25 rounded-sm text-black"), - link_to("Edit billing address", "#", class: "p-2 hover:bg-gray-25 rounded-sm text-black"), + link_to("Edit shipping address", solidus_admin.new_order_ship_address_path(@order), class: "p-2 hover:bg-gray-25 rounded-sm text-black"), + link_to("Edit billing address", solidus_admin.new_order_bill_address_path(@order), class: "p-2 hover:bg-gray-25 rounded-sm text-black"), link_to("Remove customer", "#", 'data-turbo-method': :delete, class: "p-2 hover:bg-gray-25 rounded-sm text-red-500"), ])) do %>