when having a wrong custom_field_type redirect to general custom_field page

pull/675/head
Philipp Tessenow 11 years ago
parent 933a12ad43
commit 6acf1c64bd
  1. 2
      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

Loading…
Cancel
Save