From 2688af163c19d3a8e2a3fa258ec9f4f0db1928d1 Mon Sep 17 00:00:00 2001 From: Jessie Keck Date: Thu, 16 Jan 2020 17:34:54 -0800 Subject: [PATCH] =?UTF-8?q?Explicitly=20use=20the=20spotlight=20edit=5Fexh?= =?UTF-8?q?ibit=5Fhome=5Fpage=5Fpath=20route=E2=80=A6=20(#2360)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/spotlight/home_pages/_edit_page_link.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spotlight/home_pages/_edit_page_link.html.erb b/app/views/spotlight/home_pages/_edit_page_link.html.erb index 205796254..1e518d961 100644 --- a/app/views/spotlight/home_pages/_edit_page_link.html.erb +++ b/app/views/spotlight/home_pages/_edit_page_link.html.erb @@ -1 +1 @@ -<%= exhibit_edit_link @page, edit_exhibit_home_page_path(@page.exhibit), class: 'edit-button float-right btn btn-primary', data: { turbolinks: false } %> +<%= exhibit_edit_link @page, spotlight.edit_exhibit_home_page_path(@page.exhibit), class: 'edit-button float-right btn btn-primary', data: { turbolinks: false } %>