remove commented code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user