From ec4226f1d289343c74f9487af44c4eebc787166d Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Wed, 5 Feb 2020 15:19:19 +0800 Subject: [PATCH] fix routing error --- app/views/admin/activities/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/activities/edit.html.erb b/app/views/admin/activities/edit.html.erb index 2fa22d3..b6fd63d 100644 --- a/app/views/admin/activities/edit.html.erb +++ b/app/views/admin/activities/edit.html.erb @@ -1,4 +1,4 @@ -<%= form_for @activity, url: admin_book_path(@activity), html: { class: "form-horizontal main-forms previewable" } do |f| %> +<%= form_for @activity, url: admin_activity_path(@activity), html: { class: "form-horizontal main-forms previewable" } do |f| %>
<%= render partial: 'form', locals: {f: f} %>