add edit function
This commit is contained in:
1 parent
9501bf2df3
commit
8abb20b4c8
6 files changed
+116
-119
No files matched your search
@@ -1,2 +1,3 @@
|
||||
<h1>Desktop::JournalPages#edit</h1>
|
||||
<p>Find me in app/views/desktop/journal_pages/edit.html.erb</p>
|
||||
<%= form_for @writing_journal, url: desktop_journal_page_path(@writing_journal) do |f| %>
|
||||
<%= render partial: 'desktop/journal_pages/form', locals: {:f => f} %>
|
||||
<%end%>
|
||||
@@ -1,3 +1,3 @@
|
||||
<%= form_for @writing_journal, url: desktop_journal_pages_path do |f| %>
|
||||
<%= form_for @writing_journal, html: { multipart: true } , url: desktop_journal_pages_path do |f| %>
|
||||
<%= render partial: 'desktop/journal_pages/form', locals: {:f => f} %>
|
||||
<%end%>
|
||||
Reference in new issue
Block a user