remove commented code
This commit is contained in:
@@ -11,11 +11,11 @@ class AppearanceReleaseImportsController < ApplicationController
|
|||||||
def create
|
def create
|
||||||
authorize AppearanceRelease
|
authorize AppearanceRelease
|
||||||
attachments = appearance_release_params
|
attachments = appearance_release_params
|
||||||
|
|
||||||
if attachments.nil?
|
if attachments.nil?
|
||||||
alert_message = t 'appearance_releases.create.no_attachments'
|
alert_message = t 'appearance_releases.create.no_attachments'
|
||||||
redirect_to [@project, :appearance_releases], alert: alert_message
|
redirect_to [@project, :appearance_releases], alert: alert_message
|
||||||
else
|
else
|
||||||
# filtered_attachments = filter_attachments attachments
|
|
||||||
MatchAppearanceReleasesJob.perform_later(@project, attachments)
|
MatchAppearanceReleasesJob.perform_later(@project, attachments)
|
||||||
notice_message = t 'appearance_releases.create.matching_started'
|
notice_message = t 'appearance_releases.create.matching_started'
|
||||||
redirect_to [@project, :appearance_releases], notice: notice_message
|
redirect_to [@project, :appearance_releases], notice: notice_message
|
||||||
|
|||||||
Reference in New Issue
Block a user