Commits

jplang  committed f0db60b

Remove default for when changing custom field format.

  • Participants
  • Parent commits eb2a869

Comments (0)

Files changed (1)

File app/controllers/custom_fields_controller.rb

     @custom_field = CustomField.new_subclass_instance(params[:type], params[:custom_field])
     if @custom_field.nil?
       render_404
+    else
+      @custom_field.default_value = nil
     end
   end