Remove new_nested action from images controller. Use cocoon gem to manage new nested fields creation on images.

This commit is contained in:
Senén Rodero Rodríguez
2017-09-23 17:14:32 +02:00
parent 88a7a29d27
commit f8d78ec4ab
23 changed files with 263 additions and 268 deletions

View File

@@ -22,7 +22,7 @@
</div>
<div class="images small-12 column">
<%= render 'images/nested_images', imageable: @investment %>
<%= render 'images/nested_image', imageable: @investment, f: f %>
</div>
<div class="documents small-12 column">