From ed312c186fc2d49ac21f4e34b8e82c36cdcf196e Mon Sep 17 00:00:00 2001 From: bilal Date: Tue, 9 Jun 2020 12:55:09 +0200 Subject: [PATCH] remove commented code --- app/controllers/appearance_release_imports_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/appearance_release_imports_controller.rb b/app/controllers/appearance_release_imports_controller.rb index 064e21d..b80a7d2 100644 --- a/app/controllers/appearance_release_imports_controller.rb +++ b/app/controllers/appearance_release_imports_controller.rb @@ -11,11 +11,11 @@ class AppearanceReleaseImportsController < ApplicationController def create authorize AppearanceRelease attachments = appearance_release_params + if attachments.nil? alert_message = t 'appearance_releases.create.no_attachments' redirect_to [@project, :appearance_releases], alert: alert_message else - # filtered_attachments = filter_attachments attachments MatchAppearanceReleasesJob.perform_later(@project, attachments) notice_message = t 'appearance_releases.create.matching_started' redirect_to [@project, :appearance_releases], notice: notice_message