fix routing error

This commit is contained in:
EricTYL 2020-02-05 15:19:19 +08:00
parent 2bbd136570
commit ec4226f1d2
1 changed files with 1 additions and 1 deletions

View File

@ -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| %>
<fieldset> <fieldset>
<%= render partial: 'form', locals: {f: f} %> <%= render partial: 'form', locals: {f: f} %>
</fieldset> </fieldset>