From 6acf1c64bd9c967cf56c8e9e7025f8cdc7a4d56f Mon Sep 17 00:00:00 2001 From: Philipp Tessenow Date: Tue, 19 Nov 2013 08:40:03 +0100 Subject: [PATCH] when having a wrong custom_field_type redirect to general custom_field page --- app/controllers/custom_fields_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb index 1a42ee5b31..433bf69740 100644 --- a/app/controllers/custom_fields_controller.rb +++ b/app/controllers/custom_fields_controller.rb @@ -98,7 +98,7 @@ class CustomFieldsController < ApplicationController end rescue end - redirect_to custom_fields_path(:tab => type) unless cf + redirect_to custom_fields_path unless cf cf end