mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-04 22:59:47 +00:00
use "do end" instead of {} at ImportsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20279 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
14da3c7dc4
commit
99914e0888
@ -70,13 +70,13 @@ class ImportsController < ApplicationController
|
||||
auto_map_fields
|
||||
elsif request.post?
|
||||
respond_to do |format|
|
||||
format.html {
|
||||
format.html do
|
||||
if params[:previous]
|
||||
redirect_to import_settings_path(@import)
|
||||
else
|
||||
redirect_to import_run_path(@import)
|
||||
end
|
||||
}
|
||||
end
|
||||
format.js # updates mapping form on project or tracker change
|
||||
end
|
||||
end
|
||||
@ -89,13 +89,13 @@ class ImportsController < ApplicationController
|
||||
:max_time => 10.seconds
|
||||
)
|
||||
respond_to do |format|
|
||||
format.html {
|
||||
format.html do
|
||||
if @import.finished?
|
||||
redirect_to import_path(@import)
|
||||
else
|
||||
redirect_to import_run_path(@import)
|
||||
end
|
||||
}
|
||||
end
|
||||
format.js
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user