remove commented code

This commit is contained in:
bilal
2020-06-09 12:55:09 +02:00
parent c903a2dcde
commit ed312c186f

View File

@@ -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