Move method 'recover_image_from_cache' from imageable controllers to image.

This commit is contained in:
Senén Rodero Rodríguez
2017-09-23 23:09:31 +02:00
parent c22637c349
commit 0a86727c6a
8 changed files with 8 additions and 14 deletions

View File

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