##// END OF EJS Templates
Fixed: upload doesn't work in "Files" section....
Jean-Philippe Lang -
r996:fc26668cd98c
parent child
Show More
@@ -339,7 +339,7 class ProjectsController < ApplicationController
339 339 def add_file
340 340 if request.post?
341 341 @version = @project.versions.find_by_id(params[:version_id])
342 attachments = attach_files(@issue, params[:attachments])
342 attachments = attach_files(@version, params[:attachments])
343 343 Mailer.deliver_attachments_added(attachments) if !attachments.empty? && Setting.notified_events.include?('file_added')
344 344 redirect_to :controller => 'projects', :action => 'list_files', :id => @project
345 345 end
General Comments 0
You need to be logged in to leave comments. Login now