mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 00:06:01 +01:00
CSV import does not keep the project it was clicked from (#21766).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19381 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -36,7 +36,7 @@ class ImportsController < ApplicationController
|
||||
@import = import_type.new
|
||||
@import.user = User.current
|
||||
@import.file = params[:file]
|
||||
@import.set_default_settings
|
||||
@import.set_default_settings(:project_id => params[:project_id])
|
||||
|
||||
if @import.save
|
||||
redirect_to import_settings_path(@import)
|
||||
|
||||
Reference in New Issue
Block a user