app/controllers/dancers_controller.rb
# Dancer & Studio
# Deactivates dancer's account to keep costume assignment data
# DELETE /dancers/:id
Dancer & Studio
Deactivates dancer's account to keep costume assignment data
DELETE /dancers/:id
Dancer & Studio Deactivates dancer ' s account to keep costume assignment data DELETE / dancers / : id
def destroy
    @dancer.update(current_dancer: false, password: 'dancer', password_confirmation: 'dancer')
    return redirect_to_dance_studio_page('Account Deactivated') unless dancer?
    logout('Account Deactivated!')
  end
def destroy @dancer . update ( current_dancer : false , password : 'dancer' , password_confirmation : 'dancer' ) return redirect_to_dance_studio_page ( 'Account Deactivated' ) unless dancer? logout ( 'Account Deactivated!' ) end
Dancer & Studio
Deactivates dancer's account to keep costume assignment data
DELETE /dancers/:id
Dancer & Studio Deactivates dancer ' s account to keep costume assignment data DELETE / dancers / : id
# set current_dancer to false & password/confirmation to 'dancer'