diff options
author | Go MAEDA <maeda@farend.jp> | 2020-05-04 00:46:50 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-05-04 00:46:50 +0000 |
commit | fd1d89827eaca00a3d68840306bd26c309da400f (patch) | |
tree | e07342b263b221f29f632f026e2982ae3ac8183e /app/controllers | |
parent | c8a58674cf1abc4639f73e503a106e8a9c0631a6 (diff) | |
download | redmine-fd1d89827eaca00a3d68840306bd26c309da400f.tar.gz redmine-fd1d89827eaca00a3d68840306bd26c309da400f.zip |
Redirect to index page instead of edit page after creating a new custom field (#32783).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19749 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/custom_fields_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb index 9f340476e..9ff8e023e 100644 --- a/app/controllers/custom_fields_controller.rb +++ b/app/controllers/custom_fields_controller.rb @@ -51,7 +51,7 @@ class CustomFieldsController < ApplicationController if params[:continue] redirect_to new_custom_field_path({:type => @custom_field.type}) else - redirect_to edit_custom_field_path(@custom_field) + redirect_to custom_fields_path({:tab => @custom_field.type}) end else render :action => 'new' |