Move method 'recover_documents_from_cache' from documentable controllers to document.

This commit is contained in:
Senén Rodero Rodríguez
2017-09-23 22:16:18 +02:00
parent ce29185b76
commit c22637c349
6 changed files with 3 additions and 23 deletions

View File

@@ -50,7 +50,6 @@ module Budgets
def create
@investment.author = current_user
recover_documents_from_cache(@investment)
recover_image_from_cache(@investment)
if @investment.save