move commission to origami
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= simple_form_for(@commission) do |f| %>
|
||||
<%= simple_form_for([:origami,@commission]) do |f| %>
|
||||
<%= f.error_notification %>
|
||||
|
||||
<div class="form-inputs">
|
||||
@@ -13,7 +13,7 @@
|
||||
<% @commissions.each do |commission| %>
|
||||
<tr>
|
||||
<td><%= link_to 'Show', commission %></td>
|
||||
<td><%= link_to 'Edit', edit_commission_path(commission) %></td>
|
||||
<td><%= link_to 'Edit', edit_origami_commission_path(commission) %></td>
|
||||
<td><%= link_to 'Destroy', commission, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
@@ -22,4 +22,4 @@
|
||||
|
||||
<br>
|
||||
|
||||
<%= link_to 'New Commission', new_commission_path %>
|
||||
<%= link_to 'New Commission', new_origami_commission_path %>
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
<%= render 'form', commission: @commission %>
|
||||
|
||||
<%= link_to 'Back', commissions_path %>
|
||||
<%= link_to 'Back', origami_commissions_path %>
|
||||
Reference in New Issue
Block a user