app/controllers/hyrax/etds_controller.rb
# So that the next time a student wants to create
# a new ETD, they won't have the old values from
# their old ETD hanging around in the form.
So that the next time a student wants to create
a new ETD, they won't have the old values from
their old ETD hanging around in the form.
So that the next time a student wants to create a new ETD they won ' t have the old values from their old ETD hanging around in the form .
def delete_ipe_record
      return unless params['etd']['ipe_id']
      return unless InProgressEtd.exists? params['etd']['ipe_id']
      ipe = InProgressEtd.find params['etd']['ipe_id']
      ipe.destroy
    end
def delete_ipe_record return unless params [ 'etd' ] [ 'ipe_id' ] return unless InProgressEtd . exists? params [ 'etd' ] [ 'ipe_id' ] ipe = InProgressEtd . find params [ 'etd' ] [ 'ipe_id' ] ipe . destroy end
So that the next time a student wants to create
a new ETD, they won't have the old values from
their old ETD hanging around in the form.
So that the next time a student wants to create a new ETD they won ' t have the old values from their old ETD hanging around in the form .